This problem suddenly appeared when I used samtools today:
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:
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:
My samtools directory: /root/anaconda3/bin/samtools
Enter lib, check if there is libcrypto.so.1.1, and establish a soft connection:
problem solved!