Your message dated Tue, 4 Sep 2007 08:31:36 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#440751: dpkg-shlibdeps: spurious warning about missing 
symbol
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dpkg-dev
Version: 1.14.5
Severity: normal

dpkg-shlibdeps: warning: symbol pthread_mutex_trylock used by 
debian/libnss-pgsql2/lib/libnss_pgsql.so.2.0.0 found in none of the libraries.
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `libnss-pgsql2' in 
`../libnss-pgsql2_1.4.0debian-1_amd64.deb'.
[...]
[EMAIL PROTECTED]:~/trunk$ ldd debian/libnss-pgsql2/lib/libnss_pgsql.so.2
        libpq.so.4 => /usr/lib/libpq.so.4 (0x00002ac2136d3000)
        libc.so.6 => /lib/libc.so.6 (0x00002ac2137f6000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002ac213a33000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002ac213b7a000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00002ac213def000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00002ac213f74000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002ac214076000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ac2141ab000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ac2142c0000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002ac2143c3000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00002ac2144da000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002ac2145fe000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00002ac214713000)

[EMAIL PROTECTED]:~/trunk$ objdump -x /lib/libpthread.so.0 | grep 
pthread_mutex_trylock
0000000000007de0 g     F .text  0000000000000074              
__pthread_mutex_trylock
0000000000007de0 g     F .text  0000000000000074              
pthread_mutex_trylock

Let me know if I can provide any more information.

Thanks,

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-amd64
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)

Versions of packages dpkg-dev depends on:
ii  binutils               2.17cvs20070426-8 The GNU assembler, linker and bina
ii  cpio                   2.6-17            GNU cpio -- a program to manage ar
ii  dpkg                   1.14.5            package maintenance system for Deb
ii  make                   3.81-2            The GNU version of the "make" util
ii  patch                  2.5.9-4           Apply a diff file to an original
ii  perl [perl5]           5.8.8-7           Larry Wall's Practical Extraction 
ii  perl-modules           5.8.8-7           Core Perl modules

Versions of packages dpkg-dev recommends:
ii  bzip2                         1.0.3-6    high-quality block-sorting file co
ii  gcc [c-compiler]              4:4.1.1-15 The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-15 The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi Stephen,

this version of dpkg-shlibdeps is not yet in the archive... it's just
installed on Alioth because I did some tests there. :-)

On Tue, 04 Sep 2007, Stephen Gran wrote:
> dpkg-deb: building package `libnss-pgsql2' in 
> `../libnss-pgsql2_1.4.0debian-1_amd64.deb'.
> [...]
> [EMAIL PROTECTED]:~/trunk$ ldd debian/libnss-pgsql2/lib/libnss_pgsql.so.2

ldd is not the right tool:
$ objdump -x debian/libnss-pgsql2/lib/libnss_pgsql.so.2.0.0 | grep NEEDED
  NEEDED      libpq.so.4
  NEEDED      libc.so.6

That's your problem. You need libpthread.so.0 there (i.e. link with -lpthread).

Thus closing the bug report.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

--- End Message ---

Reply via email to