Date: Sat, 13 May 2006 16:06:35 +1000 From: "Jim Prettyman" <jimprettyman@gmail.com> To: "Pav Lucistnik" <pav@oook.cz> Cc: freebsd-amd64@freebsd.org Subject: Re: Running i386 binaries on amd64 Message-ID: <af7830470605122306x5e37bda7n8e2e93685ab3a57f@mail.gmail.com> In-Reply-To: <1147422229.41363.3.camel@pav.hide.vol.cz> References: <af7830470605112305i29d5bf39o15098c39835ba943@mail.gmail.com> <84dead720605112313h51ffd83dm82b895623f4c6e27@mail.gmail.com> <af7830470605112347p69b2857cy5c647c722f22e516@mail.gmail.com> <1147422229.41363.3.camel@pav.hide.vol.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/12/06, Pav Lucistnik <pav@oook.cz> wrote: > Jim Prettyman p=ED=9Ae v p=E1 12. 05. 2006 v 16:47 +1000: > > On 5/12/06, Joseph Koshy <joseph.koshy@gmail.com> wrote: > > > > I have just installed FreeBSD-6.1-R on an athlon64 box, which is my > > > > first ever experience with amd. I was under the impression that the > > > > amd64 machines could run binaries built for the i386, but I'm not > > > > having much luck with the system as it is now. > > > > > > What are the symptoms you see? > > > > My initial test was with bash from my i386 box. It failed to run with > > 'Shared object "linintl.so.6" not found'. That lib exists in > > /usr/local/lib, but is presumably the wrong type for the i386 binary > > to use. > > Why do you want to run i386 bash? You can't compile a native amd64 one? You misunderstood the point. I want to learn how to run i386 binaries on my amd64 box and I happened to select bash as a test case as I had it handy on an i386 box. > Static binaries run out of the box, dynamic binaries need relevant > libraries placed in /usr/local/lib32/compat, or wherever else you run > ldconfig -32 over them. Can you help me a bit more here? Should I create a /usr/local/lib32/compat directory and copy the libraries from /usr/local/lib on my i386 box to there? This leads me to my real question: assuming I get this to work and I am able to run my i386 bash successfully, can I expect the same process to give me a working version of openoffice (since it's marked as i386 only in the ports)? Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af7830470605122306x5e37bda7n8e2e93685ab3a57f>