ld: library not found for -lgsl

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

    I just wanted to say that I had the exact problem on OSX. Rather than setting an environment variable, I used an additional compiler flag -L/opt/local/lib, which then lets one use -lgsl. I reference this answer.

提交回复
热议问题