livefs "shared object ... not found" errors

Muammer Hamutçu revivo73 at yahoo.com
Mon Jul 11 20:16:44 UTC 2011


 Hello John,

and thanks, I've done that and shell has successfully accepted the new variable LD_LIBRARY_PATH and its value "/lib:/usr/lib"
(I've verified it by #echo $LD_LIBRARY_PATH, it returned /lib:/usr/lib) 


but unfortunately the situation is the same. The ls command still returns the same error. 



________________________________
From: John Baldwin <john at baldwin.cx>
To: freebsd-ppc at freebsd.org; Muammer Hamutçu <revivo73 at yahoo.com>
Sent: Monday, July 11, 2011 8:33 PM
Subject: Re: livefs "shared object ... not found" errors

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