1

How can I find out if GNU Scientific Library is installed?

OSX 10.11

2

Apple doesn't install it (afaik), so you'll need Fink or MacPorts or homebrew or a manual install. Assuming a properly configured PKG_CONFIG_PATH for Fink or MacPorts or homebrew or the manual install, in this case MacPorts, pkg-config might indicate the presence of gsl (and, bonus, the various compiler flags to use).

% echo $PKG_CONFIG_PATH 
/opt/local/lib/pkgconfig
% pkg-config --cflags --libs gsl
-I/opt/local/include -L/opt/local/lib -lgsl -lgslcblas -lm
% 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.