Package: dpkg-dev
Version: 1.13.25
Severity: important
File: /usr/bin/dpkg-shlibdeps

Hi,

it seems that dpkg-shlibdeps is somewhat out of sync with glibc/binutils in 
regards to the ld.so.conf syntax. There are two things wrong:

1. # Support system library directories.
   my $ldconfigdir = '/lib/ldconfig';

This was discontinued and never was in any stable release. That code
can be savely removed.

2. ld.so.conf can have "include" statements

By default there is only one line in /etc/ld.so.conf:
include /etc/ld.so.conf.d/*.conf

$ cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf 
# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu

dpkg-shlibdeps needs to parse the include statement and include the
files mentioned there.

As is multiarch libraries give the following error:

$ ldd debian/ccache/usr/bin/ccache 
        libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00002ac5fb97f000)
        libc.so.6 => /lib/libc.so.6 (0x00002ac5fbb96000)
        /lib64/ld-linux-x86-64.so.2 (0x00002ac5fb762000)
$ dpkg-shlibdeps debian/ccache/usr/bin/ccache 
dpkg-shlibdeps: warning: could not find any packages for libz.so.1
dpkg-shlibdeps: warning: unable to find dependency information for shared 
library libz (soname 1, path libz.so.1, dependency field Depends)

MfG
        Goswin

-- System Information:
Debian Release: 4.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.9-xen-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dpkg-dev depends on:
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  dpkg                          1.13.25    package maintenance system for Deb
ii  make                          3.81-3     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  bcc [c-compiler]             0.16.14-1.4 16-bit x86 C compiler
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.4 [c-compiler]         3.4.6-5     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-21    The GNU C compiler

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to