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

After ldconfig runs, libc.so.6 is no longer available



Hi,

I'm running Debian Woody on a SPARC machine (Ultra Enterprise 3000)
using a self-compiled 2.4.27 kernel.

While I did an "apt-get dist-upgrade" recently, it stopped while
unpacking the packages, with the error message

  error while loading shared libraries: libc.so.6: cannot open shared
  object file: No such file or directory

After that, all programs linked against libc.so.6 failed with the same
message.

As a temporary fix, I can do "ldconfig -l /lib/libc-2.3.2.so", but
if I later run ldconfig in non-library mode, i.e. just call "ldconfig",
the problem re-appears.

My /etc/ld.so.conf is unsuspicious:

  /usr/X11R6/lib
  /usr/local/lib

Deleting /etc/ld.so.cache and rebuilding it didn't help.

The library and symlink in /lib:

-rwxr-xr-x  1 root root 1292452 May 11 08:36 /lib/libc-2.3.2.so
lrwxr-xr-x  1 root root      13 Jul 21 23:33 /lib/libc.so.6 -> libc-2.3.2.so

Could someone please help? I can't install or upgrade any packages
anymore, whose installation includes an ldconfig run..

Thanks,
--Andreas



Reply to: