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

Re: Impossible de se logger sur la machine après migration vers Lenny



MoS a écrit :
Bonjour,
j'ai vérifie le lien, et voici un log dont je ne sais trop quoi penser :

<lib link>

# 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

-------------

Trop bizarre...

MoS


Qu'y a-t'il dans /etc/ld.so.conf et comment réagit le système après avoir fait: ldconfig (en corrigeant /etc/ld.so.conf si besoin).

Courage lol -; JD.

//


Reply to: