Docs for running 32-bit apps?

Danny Braniss danny at cs.huji.ac.il
Tue Jan 17 00:54:41 PST 2006


> 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




More information about the freebsd-amd64 mailing list