I am trying to link gsl library (available as libgsl.so) in the path to a fortran code being compiled using f2py. I tried setting -L[path to the directory] and -lgsl to include the library, but they do not seem to work. When i type ldd [name of the *.so file] i generate, I do not see the library included. I tried following the advices given here and here. I cannot recompile the library since it was installed from apt-cache. Any advises would be much appreciated.
Asked
Active
Viewed 11 times