LynchLab / MAPGD

A program for the Maximum-likelihood analysis of population genomic data.
28 stars 11 forks source link

error running MAPGD #34

Open onkarnath89 opened 5 years ago

onkarnath89 commented 5 years ago

I installed the software successfully without any errors but while running I get the following error

/bin/usr/local/bin/mapgd: error while loading shared libraries: libhts.so.2to3part4: cannot open shared object file: No such file or directory

any help please!!

matthew-ackerman commented 5 years ago

Somewhere there is a file "libhts.so.2to3part4" which mapgd found when it was compiling but cannot find when it is running. This is likely because your $LD_LIBRARY_PATH doesn't contain the directory in which "libhts.so.2to3part4" is located. If /the/path/to/libhts/libhts.so.2to3part4 is the absolute path of libhts.so.2to3part4, then type "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/the/path/to/libhts/" and mapgd should be able to find libhts.so.2to3part4 when you run it. Hope that helps.

-Matt

cfljam commented 5 years ago

You could also consider running mapgd using Singularity recipe at https://github.com/powerPlant/mapgd-srf . There are some notes in this gist https://gist.github.com/a45a556e5f62ce0c7605b64caa00e2ff