livefs "shared object ... not found" errors

John Baldwin john at baldwin.cx
Mon Jul 11 17:33:47 UTC 2011


On Monday, July 11, 2011 1:00:35 pm Muammer Hamutçu wrote:
> Hello,
> 
> I 'm trying to use FreeBSD-9.0-CURRENT-201102-powerpc-livefs.iso on my 
> 2005 make Apple Mac mini but when I try to use one of most basic 
> commands such as "ls", it gives
> 
> Code:
> /libexec/ld-elf.so.1: Shared object "libc.so.9" not found required by 
"ls"(sometimes "libc.so.9" becomes "libutil.so.9")
> 
> error. Those other common Unix commands give error, too:
> 
> file -->
> Code:
> /libexec/ld-elf.so.1: Shared object "libmagic.so.4" not found required by 
"file"uname -->
> Code:
> /libexec/ld-elf.so.1: Shared object "libc.so.7" not found required by 
"uname"However, those commands do work: 
> 
> cd
> gpart
> pwd
> 
> I have searched the Internet for that kind of errors ("shared object ...
>  not found") and found tens of similar search results, but I could not 
> catch any solutions.
> 
> Do you have any suggestion? Thanks.

If you know where the shared libraries are (e.g. /lib and /usr/lib) try doing
'export LD_LIBRARY_PATH=/lib:/usr/lib' in your shell first (or use setenv if 
using csh).

-- 
John Baldwin


More information about the freebsd-ppc mailing list