15
4

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 3 years have passed since last update.

samtools が「libcrypto.so.1.0.0 => not found」で実行できなかった件

Last updated at Posted at 2019-02-03

samtools をcondaインストールした実行しようとしたら,以下のエラーが出た.

$ samtools
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

libcrypto.so.1.0.0が無いようなので,探してみると,

$ ldd $(which samtools)
libcrypto.so.1.0.0 => not found

見事に"not found" になっている.
ほかのpath はしっかりminiconda のlib/にあるようなので中を少し見てみる.
libcrypto.so.1.1ってのがあったので,こいつをlibcrypto.so.1.0.0のリンク先に指定してあげれば良いなとなる.

#lib/ に移動して,
ln -s libcrypto.so.1.1 libcrypto.so.1.0.0

すると,

libcrypto.so.1.0.0 => $HOME/miniconda3/bin/../lib/libcrypto.so.1.0.0 

みたいなかんじなので,解決.

15
4
1

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
15
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?