Fix net-nds/openldap for OpenSSL 1.1 |
||
Issue descriptionnet-nds/openldap-2.4.44 fails to build with dev-libs/openssl-1.1.0f. The build errors is: openldap-2.4.44: checking openssl/ssl.h usability... yes openldap-2.4.44: checking openssl/ssl.h presence... yes openldap-2.4.44: checking for openssl/ssl.h... yes openldap-2.4.44: checking for SSL_library_init in -lssl... no openldap-2.4.44: checking for ssl3_accept in -lssl... no openldap-2.4.44: configure: error: Could not locate TLS/SSL package openldap-2.4.44: * environment, line 4441: Called econf '--libexecdir=/usr/lib64/openldap' '--disable-static' '--disable-backends' '--disable-slapd' '--disable-bdb' '--disable-hdb' '--disable-mdb' '--disable-overlays' '--disable-syslog' '--enable-ipv6' '--without-cyrus-sasl' '--disable-spasswd' '--disable-wrappers' '--with-yielding-select=yes' '--with-tls=openssl' '--enable-dynamic' '--enable-local' '--enable-proctitle' '--enable-shared'
,
Jul 6 2017
Latest upstream gentoo ebuild is 2.4.45 (stable: 2.4.44). According to the git log (see [0]), OpenSSL 1.1 support was added for the OPENLDAP_REL_ENG_2_4_45 release. [0] http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;h=47f8b3c425c5e1fe4097f0685bbe9aefe56ba911
,
Jul 6 2017
Hmm... 2.4.45 fails to link 'apitest': libtool: link: x86_64-cros-linux-gnu-clang -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -clang-syntax -Wl,-O1 -Wl,-O2 -Wl,--as-needed -o .libs/apitest apitest.o ./.libs/libldap.so /build/soraka/tmp/portage/net-nds/openldap-2.4.45/work/openldap-2.4.45-abi_x86_64.amd64/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a -lssl -lcrypto -lresolv ./.libs/libldap.so: error: undefined reference to 'RAND_egd' clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:313: dntest] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libldap.so: error: undefined reference to 'RAND_egd' clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:317: ltest] Error 1 ./.libs/libldap.so: error: undefined reference to 'RAND_egd' clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:319: urltest] Error 1 ./.libs/libldap.so: error: undefined reference to 'RAND_egd' clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) ./.libs/libldap.so: error: undefined reference to 'RAND_egd' make[2]: *** [Makefile:315: ftest] Error 1 clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:311: apitest] Error 1
,
Jul 7 2017
CLs: https://chromium-review.googlesource.com/#/c/562855/ https://chromium-review.googlesource.com/#/c/563276/ |
||
►
Sign in to add a comment |
||
Comment 1 by djkurtz@chromium.org
, Jul 6 2017