Posting this here to help others.
Question - trying to install samtools with conda and encountering this error:
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
or this error:
samtools: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
This seems to resolve both errors (or at least it worked for me):
conda install "samtools>=1.10"
Note the use of "
, they are important.
In Ubuntu 20.04 in a Windows WSL2 VM tried the conda install -c bioconda "samtools>=1.10" and got a bunch of "Package conflicts for:" zlib, libstdcxx-ng, libgcc-ng, and ncurses
This is the only solution that worked for me, trying to install samtools into a named conda environment. Other variations generated conflicts.