Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2007 16:54:27 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-amd64@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: i386-RELENG_6 jail under amd64-current?
Message-ID:  <20070813205427.GA1368@rot26.obsecurity.org>
In-Reply-To: <200708131635.05514.jhb@freebsd.org>
References:  <20070625191118.U24808@fw.reifenberger.com> <20070729181507.GA85534@rot26.obsecurity.org> <200708131635.05514.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 13, 2007 at 04:35:05PM -0400, John Baldwin wrote:
> On Sunday 29 July 2007 02:15:07 pm Kris Kennaway wrote:
> > On Mon, Jun 25, 2007 at 07:24:50PM +0200, Michael Reifenberger wrote:
> > > Hi,
> > > has anybody managed to set up an jail under amd64-current (64bit)
> > > which runs i386-RELENG_6 (32bit) binaries.
> > > 
> > > My intention would be to compile 32bit ports on the bigger 64bit box too.
> > > 
> > > When trying I get messages about missing shared libs...
> > 
> > Either just symlink lib32 where the linker is looking for them, or set
> > the LD_32_LIBRARY_PATH or similar.  It would be nice if the rtld
> > recognized it was living in an i386 world automatically.
> 
> You could try copying an i386 /libexec/ld-elf.so.1 to /libexec/ld-elf32.so.1 
> inside the chroot.

Come to think of it that might have been the solution I used.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070813205427.GA1368>