Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440750 - dev-libs/apr-util-1.4.1: configure: error: could not find an LDAP library due to broken openldap after gnutls-3.1.3 upgrade
Summary: dev-libs/apr-util-1.4.1: configure: error: could not find an LDAP library due...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 15:08 UTC by Juergen Rose
Modified: 2012-11-03 08:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/dev-libs/apr-util-1.4.1/work/apr-util-1.4.1/config.log (config.log,47.46 KB, text/plain)
2012-11-01 15:09 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-11-01 15:08:48 UTC
'emerge apr-util' fails with:
...
checking for unistd.h... yes
checking for ldap support...
checking for ldap_init in -lldap50... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl20... no
checking for ldap_init in -lldapsdk... no
checking for ldap_init in -lldapsdk... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
configure: error: could not find an LDAP library

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/apr-util-1.4.1/work/apr-util-1.4.1/config.log
 * ERROR: dev-libs/apr-util-1.4.1 failed (configure phase):
 *   econf failed


root@cheetahnew:/root(19)# qlist -Iv openldap
net-nds/openldap-2.4.33


root@cheetahnew:/root(22)# ldd /usr/lib/libldap*.so
/usr/lib/libldapcpp.so:
        linux-vdso.so.1 (0x00007fff751c1000)
        libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fc628a77000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fc628868000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6 (0x00007fc628562000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fc6281ba000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc627fa4000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fc627d86000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fc627b6f000)
        libgnutls.so.26 => not found
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00007fc6278ef000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fc6275fd000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fc628f50000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6273f9000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007fc6271f4000)
/usr/lib/libldap_r.so:
        linux-vdso.so.1 (0x00007fffd37da000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f4056e42000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f4056c25000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f4056a0d000)
        libgnutls.so.26 => not found
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00007f405678e000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4056570000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f40561c8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f4055fc4000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f4055dbf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f40572f9000)
/usr/lib/libldap.so:
        linux-vdso.so.1 (0x00007fff6c5ff000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f750d312000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f750d0f5000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f750cedd000)
        libgnutls.so.26 => not found
        libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00007f750cc5e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f750c8b5000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f750c6b1000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f750c4ad000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f750d7c1000)


and 'emerge openldap' fails now due to bug 440748.
Comment 1 Juergen Rose 2012-11-01 15:09:10 UTC
Created attachment 327944 [details]
/var/tmp/portage/dev-libs/apr-util-1.4.1/work/apr-util-1.4.1/config.log
Comment 2 Rafał Mużyło 2012-11-01 15:33:13 UTC
You said it yourself - "...due to broken openldap after gnutls-3.1.3 upgrade.".
Most likely, once that's fixed, there won't be a problem here.

Reopen, if it's otherwise.