cnv_facets: error "samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory"
0
0
Entering edit mode
3.7 years ago
kkatoibaraki ▴ 10

I tried to investigate copy number variation of tumor-normal pair using cnv_facets version 0.5.14. The command

cnv_facets.R -t tumour.bam -n normal.bam -vcf common_all.vcf.gz -o output

printed the error message

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

appeared on the console. I would like to know to how to execute cnv_facets command.

software-error next-gen • 4.6k views
ADD COMMENT
1
Entering edit mode

it's a problem with the way samtools was copied or installed on your server: it cannot find the dynamic library libcrypto. The LD_LIBRARY_PATH is wrong/incomplete or libcrypto is missing on your server. https://unix.stackexchange.com/questions/168340

ADD REPLY
0
Entering edit mode

Thank you very much for your prompt reply. Similar questions and replies seem to appear in several web pages. I think shared library path is the most plausible reason. I will try to resolve the problem as you stated.

ADD REPLY
0
Entering edit mode

Thank you very much for your prompt reply.

I tried to check shared library for executing samtools via command ldd. I have found libcrypto.so.1.0.0 is not present but libcrypto.so.1.1 is present in miniconda library where $PATH and LD_LIBRARY_PATH were settled. Next, I tried to let libcrypto.so.1.1 be recognized via symbolic link. However, this trial failed to execute cnv_facets.

Finally we uninstalled miniconda 3. Next, I installed cnv_facets on a base environment of miniconda 2, instead of installing on a dedicated environment. This worked well.

Thank you very much again.

ADD REPLY

Login before adding your answer.

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