Re: chroot brainfade
On (24/04/05 14:04), Norval Watson wrote:
> I am trying to build a chroot as per the instructions in the Debian
> AMD64 Howto...
> I get to this bit
> "You also need a link to your 32bit linker in the /lib path. Change in
> to directory /lib and create a link to the 32bit linker library of your
> chroot: (The name of the 64bit linker is ld-linux-x86-64.so.2)
> Now run ldconfig to update your linker's cache."
> and I'm stumped. I look in /var/chroot/sid-ia32/lib and find
> So I try
> pan64:/lib# ln /var/chroot/sid-ia32/lib/ld-linux.so.2
> ln: creating hard link `./ld-linux.so.2' to
> `/var/chroot/sid-ia32/lib/ld-linux.so.2': Invalid cross-device link
> Maybe I'm way off track, can somebody help please?
At the risk of being way off track, did you complete the step:
To use the 32bit libraries in your 64bit system you have to add the
library path of your chroot into your /etc/ld.so.conf:
# chroot i386 system libs
This is within the 64bit system.
...strategies for business