[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error while loading shared libraries



On Thu, 14 Jun 2007 22:54:51 +0200
Gilles Sadowski <gilles@harfang.homelinux.org> wrote:

> Hello.
> 
> After upgrading, I have the following problem when trying to execute some
> programs, e.g. "ls":
> 
> $ ls
> ls: error while loading shared libraries: librt.so.1: cannot open shared
> object file: No such file or directory
> 
> [Same problem with many other programs ("locate", "find", "su", ...).]
> 
> I noticed that not all users are affected: Logged in as one user, the
> problem is there; logged in as another, everything is fine!
> 
> [I'm using "lenny/sid".]
> 
> Running "ls" (after setting the environment variable "LD_DEBUG=libs") shows
> that "/lib" is not searched, although the libraries are there indeed (hence
> the error).
> 
> How come that the search path is different for different user?
> 
> Hopefully someone has the answer.
> 
> Thanks and best regards,
> Gilles
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


very weird, first looks like it's lost but seconds looks like the shared object it's there, but one thing is shure, the file /etc/ld.so.conf holds all paths relative to the system libs, i'm not expert but do you change permissions from this file recently?

Orestes.



Reply to: