On freebsd 12, the linking of libndr.so fails with following error: [ 918/3912] Linking bin/default/librpc/libndr.so ld: error: duplicate symbol '_ndr_pull_error' in version script ld: error: duplicate symbol '_ndr_push_error' in version script clang: error: linker command failed with exit code 1 (use -v to see invocation) This happened because symbols _ndr_push_error and _ndr_pull_error were added to abi_match in commit 42ac80fb46cfb485e8c4a26d455fa784fdd1daed. It generates the following snippet in ndr.vscript. -------------------- NDR_1.0.0 { global: _ndr_pull_error; _ndr_push_error; ndr_print_steal_switch_value; ndr_push_steal_switch_value; } NDR_0.2.1; NDR_1.0.1 { global: ndr_*; GUID_*; _ndr_pull_error; _ndr_push_error; local: ndr_table_*; _end; __bss_start; _edata; *; }; -------------------- Symbols _ndr_push_error and _ndr_pull_error are added to both versions NDR_1.0.0 and NDR_1.0.1.
This bug was referenced in samba master: 4cd195aafefb02b6921ea8439dd3897f8c74b012
actually sorry, backports are probably wanted.
Created attachment 16305 [details] Patch for v4-13
Karolin, please apply the patch to 4.13. Thanks!
(In reply to Andreas Schneider from comment #4) Pushed to autobuild-v4-13-test.
This bug was referenced in samba v4-13-test: bca2f0e92c26f24f225e1688c10e3c979182a39e
Closing out bug report. Thanks!
This bug was referenced in samba v4-13-stable (Release samba-4.13.2): bca2f0e92c26f24f225e1688c10e3c979182a39e