Tag Archives: libcrypto.so.1.0.0: cannot open shared object file

[Solved] samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file

This problem suddenly appeared when I used samtools today:

copy code
samtools: error while loading shared libraries: libcrypto.so. 1.0 . 0 : cannot open shared object  file

At first, I thought that there was a problem with the conda environment, so I executed:

copy code
conda install anaconda
conda update --all

But it did not solve the problem, so I carefully read the error and found that there may be a problem with libcrypto, and finally solved the problem!

process:

copy code
# Find the location of
 samtools which samtools

My samtools directory: /root/anaconda3/bin/samtools

Enter lib, check if there is libcrypto.so.1.1, and establish a soft connection:

copy code
# enter lib
cd /root/anaconda3/ lib
 ls

# Establish soft connection
ln -s libcrypto.so.1.1 libcrypto.so.1.0.0 _ _ _

problem solved!