Afficher un message
Vieux 15/06/2007, 00h20   #8
Gilles Sadowski
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: error while loading shared libraries

> >
> >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
> >
> >

> What does "echo $PATH" show for broken vs. ok users?
>


"Broken" user:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

"Ok" user:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

:-]


Gilles


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
 
Page generated in 0,05974 seconds with 9 queries