ruga(a)protonmail.com wrote:
Full_Name: Rupert
Version: 2.4.47
OS: Darwin alice 17.7.0 Darwin Kernel Version 17.7.0: Fri Nov 2 20:43:16 PDT 2018;
root:xnu-4570.71.17~1/RELEASE_X86_64 x86_64
URL:
ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (5.170.120.126)
NOTE
> make
[...]
duplicate symbol _ber_int_options in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
duplicate symbol _ber_set_option in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
duplicate symbol _ber_get_option in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
ld: 3 duplicate symbols for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [apitest] Error 1
make[2]: *** Waiting for unfinished jobs....
duplicate symbol _ber_int_options in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
duplicate symbol _ber_set_option in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
duplicate symbol _ber_get_option in:
/opt/src/openldap-2.4.47/libraries/liblber/.libs/liblber.a(options.o)
../../libraries/liblber/.libs/liblber.a(options.o)
ld: 3 duplicate symbols for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [dntest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
COMMENT
Silly bug, tripping the compiler.
Sounds like a linker bug or some other problem in your build environment.
There are no duplicate symbols anywhere in this source tree.
--
-- Howard Chu
CTO, Symas Corp.
http://www.symas.com
Director, Highland Sun
http://highlandsun.com/hyc/
Chief Architect, OpenLDAP
http://www.openldap.org/project/