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.
, 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.