[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367892: Missing /lib/ldconfig links needed by dpkg-shlibdeps



Package: libc6-i386
Version: 2.3.6-7
Severity: important

Hi,

when building a 32bit program on amd64 I get the following problem:

mrvn@storage:~/mbr/mbr-1.1.5$ dpkg-shlibdeps -O debian/tmp/sbin/install-mbr 
dpkg-shlibdeps: warning: could not find any packages for libc.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared library libc (soname 6, path libc.so.6, dependency field Depends)

The reason for this is that dpkg-shlibdeps only knows the old standard
dirs (lib + lib64) and then follows /lib/ldconfig/* links for any
other system dirs. The 32bit libc6 is in /emul/ia32-linux/lib (/lib32/
link) and will not be found.


Installing (the not needed) ia32-libs, which contains

lrwxrwxrwx 1 root root 20 May 18 15:45 /lib/ldconfig/emul_ia32-linux_lib -> /emul/ia32-linux/lib

, results in the correct dpkg-shlibs behaviour:

mrvn@storage:~/mbr/mbr-1.1.5$ dpkg-shlibdeps -O debian/tmp/sbin/install-mbr 
shlibs:Depends=libc6-i386 (>= 2.3.5-1)



May I suggest to add /lib/ldconfig/lib32 -> /lib32 and
/lib/ldconfig/usr_lib32 -> /usr/lib32 to the libc6-i386 package so
packages will get the correct Depends again.

MfG
	Goswin

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16-rc4-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)



Reply to: