Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53421 - nss_ldap libnss_ldap-2.3.2.so it's not linking with other require lib cannot getent
Summary: nss_ldap libnss_ldap-2.3.2.so it's not linking with other require lib cannot ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 08:50 UTC by Anton Heryanto
Modified: 2004-06-09 13:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Heryanto 2004-06-09 08:50:03 UTC
when using nss_ldap by emerging nss_ldap-215-r1 produce libnss_ldap-2.3.2.so that not linking with other require lib so if we do:
#ldd /lib/libnss_ldap-2.3.2.so
/usr/bin/ldd: line 1: /lib/libnss_ldap-2.3.2.so: No such file or directory
but when we manualy build it work dan linked,
it's will cause getent passwd will not show user in ldap db


Reproducible: Always
Steps to Reproduce:
1. emerge nss_ldap
2. edit /etc/ldap.conf and /etc/nsswitch.conf
3. getent passwd (not show anything expect local /etc/passwd)
4. #ldd /lib/libnss_ldap-2.3.2.so



Actual Results:  
/usr/bin/ldd: line 1: /lib/libnss_ldap-2.3.2.so


Expected Results:  
ldd /lib/libnss_ldap-2.3.2.so
        linux-gate.so.1 =>  (0xffffe000)
        libldap.so.2 => /usr/lib/libldap.so.2 (0x4001a000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x40050000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4005c000)
        libdl.so.2 => /lib/libdl.so.2 (0x40121000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40125000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4013a000)
        libc.so.6 => /lib/libc.so.6 (0x4014c000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4027b000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4028f000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x402c0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 11:09:55 UTC
Robin, raker's MIA, can you handle this one?
Comment 2 Anton Heryanto 2004-06-09 13:29:34 UTC
sorry for less debuging, before submit this bug, cause this my first bug report and when try to resolv with manual compile and configure and i figure out that the problem is at LDFLAG in my make.conf (LDFLAG='-pie')
Comment 3 Anton Heryanto 2004-06-09 13:31:46 UTC
and when i uncoment the LDFLAG and re emerge the nss_ldap it's work
#ldd /lib/libnss_ldap.so.2
        linux-gate.so.1 =>  (0xffffe000)
        libldap.so.2 => /usr/lib/libldap.so.2 (0x40026000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x40058000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x40064000)
        libdl.so.2 => /lib/libdl.so.2 (0x40124000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40127000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4013b000)
        libc.so.6 => /lib/libc.so.6 (0x4014d000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40275000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x402a4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)