Hello,

On Mandrake 9.2 (Download version) I have observed a symptom that
is similar to the one discussed in the cooker mailing list thread
"[CHRPM] nss_ldap-211-1mdk" on September 18 and 19
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg124027.html):
After configuring ldap, commands fail with the following error message:

relocation error: /lib/libnss_ldap.so.2: undefined symbol: dbopen

I tried the rpm distributed with 9.2 (nss_ldap-207-2mdk.i586.rpm)
as well as both version available at
 http://peoples.mandrakesoft.com/~florin/www/rpms/ldap/:
 nss_ldap-207-2mdk.i586.rpm 18-Sep-2003 13:32   90K  
 nss_ldap-211-2mdk.i586.rpm 18-Sep-2003 12:38   89K  

Here is what I did last:

# rpm -ivh http://peoples.mandrakesoft.com/~florin/www/rpms/ldap
/nss_ldap-207-2mdk.i586.rpm
Retrieving 
http://peoples.mandrakesoft.com/~florin/www/rpms/ldap/nss_ldap-207-2mdk.i586.rpm
Preparing...       ########################################### [100%]
   1:nss_ldap      ########################################### [100%]
# ldd -r /lib/libnss_ldap-2.3.2.so 
        libldap.so.2 => /usr/lib/libldap.so.2 (0x40024000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x40057000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x40064000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40067000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40099000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4019b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4026a000)
        libnsl.so.1 => /lib/libndbopensl.so.1 (0x4026d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40282000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40293000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x403c3000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: dbopen        (/lib/libnss_ldap-2.3.2.so)

So it seems that the library is compiled with a reference to dbopen
but dbopen is not defined in any of the dependancies, in particular
not in the obvious candidate libdb-4.1.so (but a db_dbopen is):

# nm --dynamic  /lib/libnss_ldap-2.3.2.so | grep dbopen
         U dbopen
# ldd /lib/libnss_ldap-2.3.2.so \
  | awk '{print $3}' \
  | xargs nm --print-file-name --dynamic \
  | grep dbopen
/usr/lib/libdb-4.1.so:00054540 T __db_dbopen

- Should /lib/libnss_ldap-2.3.2.so  depend on yet another library?
- Is there another rpm version that I can use with 9.2?

Thanks in advance for your help in this matter!

Best regards,
Dominique
--
Mr Dominique Petitpierre       Email: [EMAIL PROTECTED]
Division Informatique                 User=Dominique.Petitpierre
University of Geneva                  Domain=adm.unige.ch
(Switzerland)                  WWW  : http://www.unige.ch/dinf/

Reply via email to