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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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