[Bug 1387594] Re: init: symbol lookup error: /lib/powerpc64le-linux-gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

Louis Bouchard louis.bouchard at canonical.com
Thu Oct 30 15:26:26 UTC 2014


Ok, here are some more puzzling things :

The libnss-ldap from the archive does not use __libc_lock_lock :
$ pwd
./archive
$ wget http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
--2014-10-30 16:20:59--  http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libnss-ldap/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:21:01 (72,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» enregistré [64718/64718]
$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
                 w __pthread_mutex_lock

The same source build in a PPA DOES have the symbol __libc_lock_lock :
$ cd ../ppa
$ pwd
./ppa
$ wget https://launchpad.net/~louis-bouchard/+archive/ubuntu/nssldap-buildtest/+files/libnss-ldap_264-2.2ubuntu4_amd64.deb
...
2014-10-30 16:23:56 (56,7 KB/s) - «libnss-ldap_264-2.2ubuntu4_amd64.deb» enregistré [83234/83234]

$ dpkg -x libnss-ldap_264-2.2ubuntu4_amd64.deb .
$ nm -D lib/x86_64-linux-gnu/libnss_ldap.so.2 | grep _lock
                 U __libc_lock_lock
                 U __libc_lock_unlock

I see the same behavior (i.e. fresh build created with __libc_lock_lock
in use) when using sbuild or building manually using debian/rules

This needs more investigation

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/1387594

Title:
  init: symbol lookup error: /lib/powerpc64le-linux-
  gnu/libnss_ldap.so.2: undefined symbol: __libc_lock_lock

Status in “libnss-ldap” package in Ubuntu:
  Confirmed
Status in “libnss-ldap” source package in Trusty:
  New
Status in “libnss-ldap” source package in Utopic:
  Confirmed

Bug description:
  This bug is specific to the PPC64EL architecture. More details in the
  analysis.

  Many commands that require the use of libnss-ldap will fail with
  Segmentation Fault. The boot procedure itself can be blocked with the
  following message.

  One potential workaround is to remove the use of ldap from the
  /etc/nsswitch.conf file to at least provide a bootable system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1387594/+subscriptions



More information about the foundations-bugs mailing list