This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bcftools error: : error while loading shared libraries: libcrypto.so.1.0.0:

I'm having trouble installing bcftools using conda and mamba run the following code :

conda install -c bioconda bcftools

but there is Errors in the results

bcftools error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

also using mamba

mamba install bcftools

Looking for: ['bcftools'] pkgs/main/linux-64 Using cache pkgs/main/noarch Using cache pkgs/r/linux-64 Using cache pkgs/r/noarch Using cache Could not solve for environment specs The following package could not be installed bcftools does not exist (perhaps a typo or a missing channel).

how can i slove this problem? Please help me figure out how to fix my conda environment.

`enter image description here`

bcftools

1 answer

You can either:

conda install -c bioconda bcftools openssl=1.0

or

sudo apt-get install libssl1.0.0 libssl-dev

i resolve the problem !! I really appreciate your help in resolving the problem.

one potential problem with this kind of manual override is that it postpones the issue, and you will get another similar problem with another tool,

it is best to ensure that the channels are correct so that it does not happen in the first place

when using bioconda the problem you observe is typically caused by the wrong order of the channels

cat ~/.condarc

should print

channels:
  - conda-forge
  - bioconda
channel_priority: strict

there are conda commands to move the channels around but the exact format may be slightly different on conda/mamba/micromamba something like

conda config --prepend channels bioconda
conda config --prepend channels conda-forge
conda config --set channel_priority strict

might do it. Now uninstall bcftools and reinstall it and it should install the correct versions.

I appreciate you for your kind help and advice

Log in to answer this question.