samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory 问题解决方法
问题表现
$ samtools faidx osa_genom.fa
samtools: error while loading shared libraries:libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
问题解决
$ cd usr/anaconda3/lib # 本人的usr=/home/Biochem
$ ll libcrypto.so
lrwxrwxrwx 1 Biochem Biochem 16 Mar 14 11:37 libcrypto.so -> libcrypto.so.1.1*
$ ln -s libcrypto.so.1.1 libcrypto.so.1.0.0
再运行如下语句,则顺利通过:
$ samtools faidx osa_genom.fa