bcftools error: : error while loading shared libraries: libcrypto.so.1.0.0:
1
0
Entering edit mode
13 months ago
jiyoung ▴ 20

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.5k views
ADD COMMENT
3
Entering edit mode
13 months ago

You can either:

conda install -c bioconda bcftools openssl=1.0

or

sudo apt-get install libssl1.0.0 libssl-dev

ADD COMMENT
1
Entering edit mode

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

ADD REPLY
2
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

I appreciate you for your kind help and advice

ADD REPLY

Login before adding your answer.

Traffic: 1398 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