Pas-Kapli / mptp

mPTP - a tool for single-locus species delimitation
GNU Affero General Public License v3.0
24 stars 5 forks source link

libgsl not detected #86

Closed PrestonMcDonald closed 3 years ago

PrestonMcDonald commented 3 years ago

I'm working on a shared cluster with LMod enviromental modules. I loaded gsl 2.4 and attempted to compile mptp 0.2.4. The library was not detected during configuration, despite being listed in the LD_LIBRARY_PATH.

xflouris commented 3 years ago

Hi @PrestonMcDonald , I think the easiest solution would be to try the Releases tab, and download the statically pre-compiled binary which includes libgsl and see if that runs on the cluster's OS.

The other option would be to compile manually. I'm not sure if LD_LIBRARY_PATH is checked by default (probably you will need to override LDFLAGS), but I think the following should work:

export LDFLAGS='-L/path/to/libgsl/'
./configure

Hope this helps, tomas

PrestonMcDonald commented 3 years ago

Exporting to LDFLAGS solved the issue. Thanks