A guy from the debian-user-french mailing list suggested me to check the 
integrity of the file "/lib/libdl-2.7.so" (I removed package "libc6-i686", so 
/lib/i686 directory was removed), and the validity of the link 
"/lib/libdl.so.2", and I got this strange log :

<link lib>
# su
bash: error while loading shared libraries: libdl.so.2: cannot open shared 
object file: No such file or directory

# cp
cp: missing file operand
Try `cp --help' for more information.

# cd /lib

# ls -la libdl*
12K -rw-r--r-- 1 root root 9.5K Jan  4 19:11 /lib/libdl-2.7.so
  0 lrwxrwxrwx 1 root root   12 May 31 13:09 /lib/libdl.so.2 -> libdl-2.7.so

# rm libdl.so.2
rm: remove symbolic link `libdl.so.2'? y

# cp
cp: error while loading shared libraries: libdl.so.2: cannot open shared object 
file: No such file or directory

# ln -s libdl-2.7.so libdl.so.2

# cp
cp: missing file operand
Try `cp --help' for more information.

# dpkg -S /bin/su
login: /bin/su

# aptitude reinstall login

...
The following packages will be REINSTALLED:
  login 
...
Preparing to replace login 1:4.1.1-6 (using .../login_1%3a4.1.1-6_i386.deb) ...
Unpacking replacement login ...
Processing triggers for man-db ...
Setting up login (1:4.1.1-6) ...
...
Reading task descriptions... Done

# su
bash: error while loading shared libraries: libdl.so.2: cannot open shared 
object file: No such file or directory

-----------

That's so weird...
MoS


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to