Running 32-bit apps

Nathan Whitehorn nathanw at uchicago.edu
Fri Sep 15 16:49:07 PDT 2006


I'm trying to run 32bit ghostscript on my amd64 machine. However, it  
and any ia32 binary that links to any library in /usr/local gives an  
error like this:
/libexec/ld-elf.so.1: /usr/local/lib/libjpeg.so.9: unsupported file  
layout

Binaries that link to only libs in the base system work fine. In  
addition, if I run ldconfig -32 and clear all ldconfig paths for  
32bit binaries (checked that they're gone), such binaries still work!  
It seems as though changing ldconfig has, in fact, no actual effect  
on anything.

After attempting to configure it properly, ldconfig -32 -r gives:

/var/run/ld-elf32.so.hints:
         search directories: /usr/lib32:/usr/X11R6/lib32:/usr/local/ 
lib32
         0:-lcom_err.3 => /usr/lib32/libcom_err.so.3
         1:-lcrypt.3 => /usr/lib32/libcrypt.so.3
	[...]
	133:-ljpeg.9 => /usr/local/lib32/libjpeg.so.9

Any ideas?
-Nathan


More information about the freebsd-amd64 mailing list