Summary: | net-nds/openldap-2.4.30 USE=overlays -ld: cannot find -lldap_r/-llber | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nikita.kipriyanov |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
openldap-2.4.30-contrib-samba4.patch openldap-2.4.30.ebuild.patch openldap-2.4.30-contrib-samba4.patch |
Description
Alexander Tsoy
2012-03-13 20:30:28 UTC
1) Please attach the entire build log to this bug report. 2) Please attach your `emerge -vpq net-nds/openldap' output to this bug report. $ emerge -vpq net-nds/openldap [ebuild N ] net-nds/openldap-2.4.30 USE="berkdb crypt gnutls icu ipv6 overlays perl ssl syslog tcpd -cxx -debug -experimental -iodbc -kerberos -minimal -odbc -samba -sasl (-selinux) -slp -smbkrb5passwd" Created attachment 305269 [details]
build.log
I see. Also, why is stuff installed in /usr/$(get_libdir)/openldap/openldap I can confirm this bug, it breaks exactly as stated below. It also occurs in the previous openldap release .28-r1 Either these libraries haven't been built by the time the contribs are compiled or they are not referenced correctly during the build. Obviously if you have an existing openldap installation, you link against the installed libs (which in itself has potential to cause nasty side affects) I am working around this by emerging this twice, once with '-overlays' and a binary package with 'overlays' I can confirm this bug too. I also confirm that installing twice workaround works. Created attachment 311599 [details, diff]
openldap-2.4.30-contrib-samba4.patch
Created attachment 311601 [details, diff]
openldap-2.4.30.ebuild.patch
(In reply to comment #4) > I see. Also, why is stuff installed in /usr/$(get_libdir)/openldap/openldap Also the slapd executable is installed in /usr/$(get_libdir)/openldap instead of something like /usr/libexec/... I think it's not good. Created attachment 311627 [details, diff]
openldap-2.4.30-contrib-samba4.patch
I've looked at openldap-2.4.28-contrib-smbk5pwd.patch and replaced hardcoded ${OPT} with ${CFLAGS}
I can confirm this, too. The workaround (uninstalling, then installing twice, first without, then with overlays) worked, as well. in 2.4.31 *** Bug 444896 has been marked as a duplicate of this bug. *** |