9
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

libc.so.6のシンボリックリンクを変更しようとしたところ、誤って消してしまった時の対応

Last updated at Posted at 2017-05-19

状況

/lib64/libc.so.6 のリンク先を変更する際に上書きせず、シンボリックリンクを削除してから作成することにした。
( 消したことによってこんな状態になると知らず。 )

問題発生から解決までの一連作業

$ su
password: 
# rm /lib64/libc.so.6
# ln -s /lib64/libc-2.17.so /lib64/libc.so.6
ln: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
# ldconfig -l -v /lib64/libc-2.12.so

これで一応、解決した模様。

9
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?