On Sat, Dec 16, 2006 at 04:21:51AM +0200, Guillem Jover wrote: > tags 403216 - patch > thanks > > On Fri, 2006-12-15 at 13:26:41 +0100, Goswin von Brederlow wrote: > > Package: dpkg-dev > > Version: 1.13.24 > > Severity: critical > > File: /usr/bin/dpkg-shlibdeps > > Tags: patch > > Er, there's not patch in here... and I think the proposed fix is > wrong. > > > dpkg-shlibdeps sets > > > > my @librarypaths = qw( /lib /usr/lib /lib32 /usr/lib32 /lib64 /usr/lib64 ); > > > > to include the 32bit libraries on ia64 and amd64. But packages install their > > libraries in /emul/ia32-linux/[usr/]lib to which [/usr]/lib is a link. > > > The problem now is that dpkg will not find the package for a library > > under [/usr]/lib32/ as it was installed under a different path. This > > causes dpkg-shlibdeps to not find a package for 32bit libraries and no > > shlibs file. In the end the packages will lack the neccessary depends > > to the 32bit libraries used in the package. > > It could be argued that the handling of this biarch stuff is a mess, > but anyway. This was fixed in the past when we gave dpkg-shlibdeps > support to handle /lib/ldconfig/ symlinks. Now it's gone, so the > proper fix is for the package providing such libs in such nasty > paths to add a file under /etc/ld.so.conf.d with those, and for > dpkg-shlibdeps to read those files. I'll implement that tomorrow > or the day after (I'm traveling today). >
Well this has been removed, and now the linker and the dynamic loader both know about /emul/ia32-linux/[usr/]lib, just as they now /lib64 and /usr/lib64 on 32-bit platforms. I guess dpkg-shlibdeps have to know about those paths. Using /etc/ld.so.conf.d for that is messing bi-arch and multi-arch, which are different things. Anyway if you go for reading /etc/ld.so.conf.d, I will ask you to also remove /lib64 /usr/lib64 for coherency between 32-bit and 64-bit architectures. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]