Samfile error: dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib
1
2
Entering edit mode
3.1 years ago
Rana01 ▴ 20

I've downloaded samfiles using conda For converting sam to bam I used the command

samtools view -S -b /Users/dhee/Desktop/SRR12304924.s > /Users/dhee/Desktop/SRR12304924.bam

In getting an error as

dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib
  Referenced from: /Users/dhee/miniconda3/bin/samtools
  Reason: image not found
zsh: abort      samtools view -S -b /Users/dhee/Desktop/SRR12304924.s 
Samfiles • 6.1k views
ADD COMMENT
0
Entering edit mode

I installed samtools using conda. I got a similar error message but the reason is different.

Reason: tried: '/Users/Chris/opt/anaconda3/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/Users/Chris/opt/anaconda3/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).

ADD REPLY
0
Entering edit mode

Hi, I have the same error while trying to use samtools. I have installed it using conda too. did you fix the error and how ? I tried conda uninstall samtools conda update --all conda install samtools But it didn't work for me.

Thanks.

ADD REPLY
3
Entering edit mode
3.1 years ago

Try this and let me know if it fixes the issue:

conda uninstall samtools
conda update --all
conda install samtools
ADD COMMENT
0
Entering edit mode

Yes it work now thanks a lot

ADD REPLY
0
Entering edit mode

A small educational note: if an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work. If an answer was not really helpful or did not work, provide detailed feedback so others know not to use that answer.

upvote_bookmark_accept

ADD REPLY
0
Entering edit mode

How long did it take you to uninstall? Because I got the message "solving environment: /" with the spinning forward slash for a long time.

ADD REPLY
1
Entering edit mode

Hello. Step1: After "conda uninstall samtools" - 10 minutes. I get message: "The following package will be UPDATED" and I agree and so i entered "y". Step2: "conda update --all After i get message:" Downloading and Extracting Packages" - python-3.9.12 Step3: "conda install samtools" Congratilations!

ADD REPLY

Login before adding your answer.

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