Date: Tue, 17 Jan 2006 10:54:34 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: "Larry Rosenman" <ler@lerctr.org> Cc: freebsd-amd64@freebsd.org, kael@sonic.net Subject: Re: Docs for running 32-bit apps? Message-ID: <E1Eymbr-000Ou9-2s@cs1.cs.huji.ac.il> In-Reply-To: Message from "Larry Rosenman" <ler@lerctr.org> of "Mon, 16 Jan 2006 22:04:34 CST." <004601c61b1b$20b2e620$68c8a8c0@lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Kael Fischer wrote: > > > > After install32, I had to run 'ldconfig -32 /usr/lib32'. > > > > This brings up a point I wanted to ask about. Shouldn't the system > Startup scripts do the ldconfig -32 /usr/lib32 if /usr/lib32 exists? from some test runs i did: (all tests on FreeBSD - stable amd64) - file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped - did NOT do ldconfig -32 /usr/lib32 and a 32bit a.out run ok - /usr/bin/ldd a.out ldd: a.out: can't read program header ldd: a.out: not a dynamic executable - using a 32bit ldd actually runs/executes a.out could someone shed some light at this magic? :-) danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Eymbr-000Ou9-2s>