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

error while loading shared libraries



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



Reply to: