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
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.
-L/opt/local/lib
-lgsl