Samtools fails with libcrypto error
1
1
Entering edit mode
13 months ago
Kaia ▴ 10

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??? :(

RNAseq Qualitycheck samtools BAM • 1.5k views
ADD COMMENT
1
Entering edit mode

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.

ADD REPLY
2
Entering edit mode
13 months ago

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
ADD COMMENT

Login before adding your answer.

Traffic: 2110 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6