Re: fwbuilder iptables script, kernel 2.6.8-11-amd64-k8 and sarge
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.
Len Sorensen
Reply to: