ld: library not found for -lgsl

后端 未结 3 1318
一整个雨季
一整个雨季 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:46

    I got the same issue and here is how I fixed it:

    export LIBRARY_PATH=/usr/local/Cellar/gsl/1.16/lib/
    

    I had previously installed gsl using:

    brew install gsl
    

提交回复
热议问题