i386-RELENG_6 jail under amd64-current?

Kris Kennaway kris at obsecurity.org
Mon Aug 13 20:54:28 UTC 2007


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



More information about the freebsd-amd64 mailing list