[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Calling 64 bit apps from 32 bit Chroot]



Matthias Julius wrote:

>You to put the 32 bit library locations in your /etc/ld.so.conf.  And
>you have to have the 32 bit ldd installed.  For that copy or symlink
>/var//chroot/sarge-ia32/lib/ld-2.3.2.so to /lib/ld-linux.so.2.  Then
>run ldconfig.
>
>Matthias
>
I had this:
$ cat /etc/ld.so.conf
/usr/X11R6/lib
# chroot i386 system libs
/var/chroot/sarge-ia32/lib
/var/chroot/sarge-ia32/usr/lib
/var/chroot/sarge-ia32/usr/X11R6/lib
/var/chroot/sarge-ia32/usr/local/lib

/emul/ia32-linux/lib
/emul/ia32-linux/usr/lib
/emul/ia32-linux/usr/X11R6/lib
/lib/i486-linux
/usr/lib/i486-linux
/usr/X11R6/lib/i486-linux
/usr/lib/GNUstep/System/Library/Libraries

and
$ ls -l /var/chroot/sarge-ia32/lib |grep ld
lrwxrwxrwx  1 root root      18 2005-07-27 18:06 ld-2.3.2.so ->
/lib/ld-linux.so.2
...


perhaps I didn't get this part from the HOWTO right:

>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)

for me it looks like I should remove /lib/ld-linux-x86-64.so.2 and
substitute it with a link to /Path/to/chroot/lib/, with the same name,
but I'm sorry if my english is too bad. Would be easier to understand
something like `link THIS to THAT', as for me it's confusing enough to
get which / is talked about.

Meanwhile I tried to make a mount point /var/chroot/sarge-ia32/root64
and mounted 64's / there. I could see 64 bit tree from 32, but xmms and
xine started neither.


kind regards

Rainer



Reply to: