i386-RELENG_6 jail under amd64-current?

John Baldwin jhb at freebsd.org
Mon Aug 13 21:00:34 UTC 2007


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.

-- 
John Baldwin


More information about the freebsd-amd64 mailing list