I spend a good half a day trying various things to solve the following problem when running samtools running on OSX Catalina: dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib Referenced from: /Users/brownbear/opt/anaconda3/bin/samtools Reason: image not found Abort trap: 6
I couldn't even ask command line to tell me which version it was (although I believe it was 1.9), it seems that something in the pair of updated conda and OSX something broke it. I tried everything out there and nothing worked. My last attempt was this and it worked...
was a combination of the following: https://www.biostars.org/p/173414/
https://github.com/bioconda/bioconda-recipes/issues/13488
in summary I first did
which samtools
found the directory, and did
rm samtools
then ran
conda install -c bioconda samtools=1.9=h8ee4bcc_1
After this samtools worked, when checking version this is the result:
#samtools 1.10
#Using htslib 1.10.2
Happy coding all!