Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2006 19:48:54 -0400
From:      Nathan Whitehorn <nathanw@uchicago.edu>
To:        freebsd-amd64@freebsd.org
Subject:   Running 32-bit apps
Message-ID:  <C3755C6D-EF3C-4BC7-9F78-C4B3015DA1E0@uchicago.edu>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3755C6D-EF3C-4BC7-9F78-C4B3015DA1E0>