Samtools fails with libcrypto error
I want to check bam file quality. because previously my quality check level was not good. So I tried to check it's quality check by using samtools but, the terminal says "samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory" like this. How can i solve this problem??? :(
• 4,285 views
•
link
1 answer
I have observed that this error usually happens when you install via conda/mamba but the order of channels is incorrect. So try the following:
# Uninstall samtools
conda remove samtools
# Set the proper channel order
conda config --prepend channels conda-forge
conda config --append channels bioconda
# Set the channel priority
conda config --set channel_priority strict
# Reinstall samtools
conda install samtools
You may need to update all packages in case other packages have troubles.
conda update --all
• 0 views
•
link
Log in to answer this question.
looks like this:
https://github.com/merenlab/anvio/issues/1479#issuecomment-669983367
I googled "samtools libcrypto", it was the first result.
There is also this related post here.