This is a test version of Biostars. For the public version, visit https://www.biostars.org.
samtools install error

Hello guys I am trying to install samtools but I am getting the same error. Could you pls help me with this isssue? I am sharing the error code:

dyld[1233]: Library not loaded: @rpath/libcrypto.1.0.0.dylib
  Referenced from: <3FAE4B52-2497-3D93-BE35-525AAAE38804> /Users/uguremre/opt/anaconda3/envs/samtools/bin/samtools
  Reason: tried: '/Users/uguremre/opt/anaconda3/envs/samtools/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/Users/uguremre/opt/anaconda3/envs/samtools/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/usr/local/lib/libcrypto.1.0.0.dylib' (no such file), '/usr/lib/libcrypto.1.0.0.dylib' (no such file, not in dyld cache)
[1]    1233 abort      samtools
samtools

unfortunately I tried so many code and i checked so many website but I couldn't figure it out

I see, can you update the question and specify the commands you have used to install samtools?

conda uninstall samtools conda update --all conda install samtools

I used it too but It couldn't fix it

1 answer

The problem here was that an extremely outdated and semi-broken version of samtools had been installed.

At the time this question was asked, you needed to specify the samtools version number to get an up-to-date and functional samtools via conda:

conda install samtools==1.17

Since then the problem has been fixed and conda install samtools (without a version number) selects the most recent samtools again.

Log in to answer this question.