[EMAIL PROTECTED] (Lennart Sorensen) writes: > On Mon, Aug 08, 2005 at 11:20:20PM +0200, Matthias Wenthe wrote: >> Thank you for clearing up what I suspected. In the chroot 64 bit >> installation an ldd /sbin/iptables shows >> libdl.so.2 => /lib/libdl.so.2 (0x0000002a9566c000) >> libnsl.so.1 => /lib/libnsl.so.1 (0x0000002a95770000) >> libc.so.6 => /lib/libc.so.6 (0x0000002a95886000) >> /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 >> (0x0000002a95 >> >> The last library is easy to integrate into the 32 bit i386 sarge. But what >> about the first three ones. How can I make the 64 bit iptables binary >> which I put to /usr/local/sbin in 32 bit sarge look for the libs in >> another place but /lib where the 32 bit libs with the same name are >> placed ? > > Make a directory somewhere, put the libs and approrpaiter symlinks for > the libs in the dir, and add the dir to /etc/ld.so.conf, and run > ldconfig. That should do it.
Not quite. You also need the 64 bit linker. Just create a symlink from /lib/ld-linux-x86-64.so.2 to your $chroot/lib/ld-2.3.2.so if you have a 64 bit chroot already. And then include $chroot/lib and $chroot/usr/lib to your /etc/ld.so.conf. Maybe it is just enough to install the amd64-libs package. I don't know which libraries it contains, but at least it should create lib64 directories, install the linker and take care of /etc/ld.so.conf. Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

