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.
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:
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:
Closing out bug report.
This bug was referenced in samba v4-13-stable (Release samba-4.13.2):