Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-28 Thread Goswin von Brederlow
Matthias Julius <[EMAIL PROTECTED]> writes: > Goswin von Brederlow <[EMAIL PROTECTED]> writes: > >> / /var/chroot/sarge-ia32/var/chroot/sarge-amd64 none bind 0 0 > > Is there a limit to the depth of chroots? > > Matthias Path length are somewhat limited by Posix but not all apps actualy refuse to

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Matthias Julius
Goswin von Brederlow <[EMAIL PROTECTED]> writes: > / /var/chroot/sarge-ia32/var/chroot/sarge-amd64 none bind 0 0 Is there a limit to the depth of chroots? Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Goswin von Brederlow
Lubos Vrbka <[EMAIL PROTECTED]> writes: >> Can anybody give me a hint? As I understand is my 32bit chroot on 64's >> /var/chroot/sarge-ia32, so 64 directories are outside the 32bit tree. >> How do I mount them inside 32? > use a bind mount - put something like the following to your fstab... > /hom

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Matthias Julius
rainer herrendoerfer <[EMAIL PROTECTED]> writes: > 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 >

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Lennart Sorensen
On Wed, Jul 27, 2005 at 07:30:43PM +0200, rainer herrendoerfer wrote: > 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-li

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread rainer herrendoerfer
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 /

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Matthias Julius
[EMAIL PROTECTED] (Lennart Sorensen) writes: > On Wed, Jul 27, 2005 at 12:04:13PM -0400, Matthias Julius wrote: >> [EMAIL PROTECTED] (Lennart Sorensen) writes: >> >> > Do you have your chroot lib and usr/lib dirs in /etc/ld.so.conf? >> > >> > The only problem with doing that of course is that you

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Lennart Sorensen
On Wed, Jul 27, 2005 at 12:04:13PM -0400, Matthias Julius wrote: > [EMAIL PROTECTED] (Lennart Sorensen) writes: > > > Do you have your chroot lib and usr/lib dirs in /etc/ld.so.conf? > > > > The only problem with doing that of course is that you have to comment > > it out before any libc upgrades

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Matthias Julius
[EMAIL PROTECTED] (Lennart Sorensen) writes: > Do you have your chroot lib and usr/lib dirs in /etc/ld.so.conf? > > The only problem with doing that of course is that you have to comment > it out before any libc upgrades since the libc package gets annoyed if > it sees the 32bit libc in the ldpath

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Matthias Julius
rainer herrendoerfer <[EMAIL PROTECTED]> writes: > When I try starting firefox using > /var/chroot/sarge-ia32/usr/bin/firefox& > i get > grep: error while loading shared libraries: libc.so.6: cannot open > shared object file: No such file or directory > cut: error while loading shared libraries: l

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Lennart Sorensen
On Wed, Jul 27, 2005 at 05:36:45PM +0200, rainer herrendoerfer wrote: > When I try starting firefox using > /var/chroot/sarge-ia32/usr/bin/firefox& > i get > grep: error while loading shared libraries: libc.so.6: cannot open > shared object file: No such file or directory > cut: error while loading

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread rainer herrendoerfer
Lennart Sorensen wrote: >If you do a chroot command and then run firefox, then firefox only sees >the 32bit stuff. If you just run firefox from 64bit using >/path/to/chroot/usr/bin/firefox on the other hand, then it should see >the 64bit programs, although I don't know if firefox would have any >

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Lennart Sorensen
On Wed, Jul 27, 2005 at 05:16:15PM +0200, rainer herrendoerfer wrote: > That's what I already had in my fstab on 64 tree. I thought that was for > reaching 32bit applications from from 64 tree. It is for reaching files in /home and /tmp and such (whichever you bind mount) from inside the chroot.

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread rainer herrendoerfer
Lubos Vrbka wrote: >> Can anybody give me a hint? As I understand is my 32bit chroot on 64's >> /var/chroot/sarge-ia32, so 64 directories are outside the 32bit tree. >> How do I mount them inside 32? > > use a bind mount - put something like the following to your fstab... > /home /var/chroot/sarge

Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread Lubos Vrbka
Can anybody give me a hint? As I understand is my 32bit chroot on 64's /var/chroot/sarge-ia32, so 64 directories are outside the 32bit tree. How do I mount them inside 32? use a bind mount - put something like the following to your fstab... /home /var/chroot/sarge-ia32/home none bind 0 0 and it s

[Fwd: Re: Calling 64 bit apps from 32 bit Chroot]

2005-07-27 Thread rainer herrendoerfer
--- Begin Message --- Goswin von Brederlow wrote: >Ed <[EMAIL PROTECTED]> writes: > > > >>I am using Galeon & Firefox in the 32bit chroot environment. I would like to >>be able to click on a mailto: link and bring up evolution which is in the >>standard 64 bit location. Is this easily possible?

Re: Calling 64 bit apps from 32 bit Chroot

2005-07-09 Thread Ed
On Sun, 2005-07-10 at 07:56 +0200, Goswin von Brederlow wrote: Ed <[EMAIL PROTECTED]> writes: > I am using Galeon & Firefox in the 32bit chroot environment. I would like to > be able to click on a mailto: link and bring up evolution which is in the > standard 64 bit location. Is this easily

Re: Calling 64 bit apps from 32 bit Chroot

2005-07-09 Thread Goswin von Brederlow
Ed <[EMAIL PROTECTED]> writes: > I am using Galeon & Firefox in the 32bit chroot environment. I would like to > be able to click on a mailto: link and bring up evolution which is in the > standard 64 bit location. Is this easily possible? > Regards > Ed. Sure, mount your 64bit system inside the c

Calling 64 bit apps from 32 bit Chroot

2005-07-09 Thread Ed
I am using Galeon & Firefox in the 32bit chroot environment. I would like to be able to click on a mailto: link and bring up evolution which is in the standard 64 bit location. Is this easily possible? Regards Ed.