Package: fakeroot
Version: 1.0.7
Severity: normal
Hi,
since fakeroot only comes with a 64bit library it fails when executing
a 32bit binary:
| [EMAIL PROTECTED]:~% fakeroot /var/chroot/bin/sh
| /var/chroot/bin/sh: error while loading shared libraries: libfakeroot.so.0:
cannot open shared object file: No such file or directory
If I manually set the LD_LIBRARY_PATH to include the fakeroot from the
32bit chroot then it works:
| [EMAIL PROTECTED]:~% export FAKED_MODE=unknown-is-root
| [EMAIL PROTECTED]:~% export
LD_LIBRARY_PATH=/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/var/chroot/usr/lib/libfakeroot
| [EMAIL PROTECTED]:~% LD_PRELOAD=libfakeroot.so.0 /var/chroot/bin/sh -c "echo
foo"
foo
One solution I see is for fakeroot to build both 32bit and 64bit
flavours of libfakeroot, include them both in the i386 and amd64 debs
and have both in the LD_LIBRARY_PATH. I suggest using
/usr/lib/i386-linux/libfakeroot and /usr/lib/x86_64-linux/libfakeroot
as paths to match the comming multiarch layout.
The same problem (and solution) arises also on s390/s390x,
mips/mips64, mipsel/mipsel64, powerpc/powerpc64, sparc/sparc64 and
i386/x86_64, all of which are going to be released with sarge.
MfG
Goswin
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-frosties-1
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages fakeroot depends on:
ii libc6 2.3.2.ds1-19.0.0.2.pure64 GNU C Library: Shared libraries an
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]