[Date Prev][Date Next] [Chronological] [Thread] [Top]

-lpthread problem?


  It was pointed out to me that libldap_r appears to have some problems
  with regard to being linked against libpthread.  This is on
  Debian/unstable.  From ldd -r:

nexus:/home/sfrost> ldd -r /usr/lib/libldap_r.so
        liblber.so.2 => /usr/lib/liblber.so.2 (0x4004e000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4005b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4006e000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4009b000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x400ad000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x400dd000)
        libc.so.6 => /lib/libc.so.6 (0x401ce000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: pthread_create        (/usr/lib/libldap_r.so)
undefined symbol: pthread_kill_other_threads_np (/usr/lib/libldap_r.so)
undefined symbol: pthread_setconcurrency        (/usr/lib/libldap_r.so)
undefined symbol: pthread_kill  (/usr/lib/libldap_r.so)
undefined symbol: pthread_attr_setstacksize     (/usr/lib/libldap_r.so)
undefined symbol: pthread_mutex_trylock (/usr/lib/libldap_r.so)
undefined symbol: pthread_join  (/usr/lib/libldap_r.so)
undefined symbol: pthread_getconcurrency        (/usr/lib/libldap_r.so)

What I've been told is that it's using symbols from libpthread but the
.so doesn't have a NEEDED for them.  I assume this is an issue that
needs to be fixed..?  Things seem to work anyway..


Attachment: pgpm1aDd7xbxy.pgp
Description: PGP signature