Samtools 1.8 and 1.9 executable throwing error
Closed this issue · 1 comments
LucyHut commented
./samtools: error while loading shared libraries: libhts.so.2: cannot open shared object file: No such file or directory
LucyHut commented
The path to where the htslib package is installed locally was not correct . In our system , the HTSLIB package is installed under /opt/software/external/htslib/htslib .
So I added a new variable in the main Configuration file called HSTLIB_INSTALL_DIR set to the absolute path where htslib is installed.
samtools/Install script now has the following:
./configure --prefix=${SOFTWARE_BASE} --with-htslib=${HSTLIB_INSTALL_DIR}