Jaime Ochoa Malagón a écrit :
so if i understand, you suggest me to bind-mount my 64bit-root partition in a directory of my 32-bit chroot.there is a bind mount to do that search a little more that information exists... On 1/30/08, Bonnel Christophe <mage.tophinus@free.fr> wrote:Hi all, I have a 32-bit chroot for some applications, and firefox particulary. In my chroot, i have installed xpdf for pdf files, mplayer, flash, and so on... But i don't install OOO. Now, for the first time since i installed my system (more than one year), i have found a webpage which gives doc files. As i don't have OOO in my 32bit chroot and i don't want it, i wonder if it's possible to chroot the 64bit system into the 32bit chroot in order to use the 64bitOOO when i click on a .doc link For my chroots, i use schroot. Thanks in advance Christophe -- To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
For example i have : /dev/sda1 mounted on / /home/chroot-i368.img mounted on /var/chroot/etch-i386 (my chroot) So i create a directory /var/chroot/etch-i386/amd64 mount --bind /dev/sda1 /var/chroot/etch-i386/amd64 (or something like this)Then I chroot but how can re-adjust libraries ? If i want now to use 64bit-xpdf. I have made a ldd on /usr/bin/xpdf.bin and it gives me :
libt1.so.5 => /usr/lib/libt1.so.5 (0x00002b451e59e000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002b451e6f9000) libz.so.1 => /usr/lib/libz.so.1 (0x00002b451e872000) libXm.so.2 => /usr/lib/libXm.so.2 (0x00002b451e988000) libXt.so.6 => /usr/lib/libXt.so.6 (0x00002b451ec10000) libXp.so.6 => /usr/lib/libXp.so.6 (0x00002b451ed71000) libXext.so.6 => /usr/lib/libXext.so.6 (0x00002b451ee79000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00002b451ef8a000) libSM.so.6 => /usr/lib/libSM.so.6 (0x00002b451f09b000) libICE.so.6 => /usr/lib/libICE.so.6 (0x00002b451f1a5000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00002b451f2c0000) libpaper.so.1 => /usr/lib/libpaper.so.1 (0x00002b451f4ca000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002b451f5cd000) libm.so.6 => /lib/libm.so.6 (0x00002b451f7cb000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b451f94e000) libc.so.6 => /lib/libc.so.6 (0x00002b451fa5b000) libXft.so.2 => /usr/lib/libXft.so.2 (0x00002b451fc98000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002b451fdad000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00002b451feb6000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002b451ffb9000) libdl.so.2 => /lib/libdl.so.2 (0x00002b45200be000) /lib64/ld-linux-x86-64.so.2 (0x00002b451e486000)libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002b45201c1000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002b45202f6000) libpthread.so.0 => /lib/libpthread.so.0 (0x00002b4520418000)I can't understand how my 32bit-chroot can use the proper 64bit-librairies ? If i use amd64/usr/bin/xpdf (into my 32bit chroot), how can it find /lib64/ld-linux-x86-64.so.2 ?
I hope you can understand me...