Summary: | =net-nds/openldap-2.4.17-r1 doesn't compile with USE="cxx sasl" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | rob |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 280988 | ||
Attachments: | build.log |
Description
Samuli Suominen (RETIRED)
2009-08-10 09:41:08 UTC
Created attachment 200830 [details]
build.log
Configure fails first with: checking for ber_strdup in -llber... no didn't find ber_strdup in liblber ! Check for the right version (>= 2.0) of the OpenLDAP libraries or try the --with-libldap option. And because it doesn't create any Makefile, it fails later on with: [32;01m*[0m Building contrib library: ldapc++ make -j5 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ make: *** No targets specified and no makefile found. Stop. openldap needs to be built first with USE="-cxx -sasl" to be able to emerge it with USE="cxx sasl", self-circular dep Manual testing: unique ldapc++ # gcc -llber /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llber collect2: ld returned 1 exit status unique ldapc++ # pwd /var/tmp/portage/net-nds/openldap-2.4.17-r1/work/openldap-2.4.17/contrib/ldapc++ unique ldapc++ # gcc -L../../libraries/liblber/.libs -llber /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld returned 1 exit status unique ldapc++ # file ../../libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so: symbolic link to `liblber-2.4.so.2.5.0' unique ldapc++ # file ../../libraries/liblber/.libs/liblber-2.4.so.2.5.0 ../../libraries/liblber/.libs/liblber-2.4.so.2.5.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped unique ldapc++ # config.log: configure:19965: checking for ber_strdup in -llber configure:20000: x86_64-pc-linux-gnu-gcc -o conftest -march=core2 -msse4.1 -O2 -pipe -D_GNU_SOURCE -I../../include -I/usr/include/db4.7 -I. ./../../include -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L../../libraries/liblber/.libs -L../../libraries/libldap/.libs -L../../../lib raries/liblber/.libs -L../../../libraries/libldap/.libs conftest.c -llber -lresolv -L/usr/local/lib >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llber collect2: ld returned 1 exit status The ebuild has correct append-ldflags but it isn't working. # strings ../../libraries/liblber/.libs/liblber-2.4.so.2.5.0 | grep ber_strdup ber_strdup_x ber_strdup Should be fixed in 2.4.19. Please test. |