ld: library not found for -lgsl

后端 未结 3 1317
一整个雨季
一整个雨季 2020-12-15 20:15

I\'m working in OSX and I\'m attempting to run a make file and when I try I get the following:

ld: library not found for -lgsl
clang: error: linker command f         


        
3条回答
  •  独厮守ぢ
    2020-12-15 20:47

    You need to add the path for where the macports installed the gsl library to your LD_LIBRARY_PATH environment variable (or most likely into the build script environment). I believe macports stores things in /opt/local/lib

提交回复
热议问题