**
解决samtools: error while loading shared libraries: libcrypto.so.1.0.0/libncurses.so.5的问题
**
一般这个问题出现是用conda环境直接安装才出现的:
conda install samtools
然后运行
samtools
会提示:samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
或者samtools: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
现在samtools的版本已经在1.9以上了,但是conda安装的samtools版本依然是1.7,这是出现问题的根本原因。
解决办法:
https://github.com/merenlab/anvio/issues/1479
这里写的很清楚,重新安装如下:
conda install -c bioconda samtools=1.9 --force-reinstall
或者刚开始安装的时候:
conda install samtools=1.9.
不会再出现上述问题。