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
> ld-linux.so.2
> 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
> pan64:/lib#
>
> 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:
/usr/X11R6/lib
# chroot i386 system libs
/var/chroot/sid-ia32/lib
/var/chroot/sid-ia32/usr/lib
/var/chroot/sid-ia32/usr/X11R6/lib
/var/chroot/sid-ia32/usr/local/lib
This is within the 64bit system.
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: