running gsl on mdk8.1

Brian Gough bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001


I-Lin Wang writes:
 > Thanks for your reply. I did try the other way(i.e. -lgsl
 > -lgslcblas) and it still does not work.(but then it's libgsl.so.0
 > that it could not find, not libgslcblas.so.O as last time)
 > 
 > ilin:~/from_c/c> gcc -o kk kk.c -lgsl -lgslcblas
 > ilin:~/from_c/c> kk
 > kk: error while loading shared libraries: libgsl.so.0: cannot
 > load shared object
 >  file: No such file or directory

See the section on "Shared Libraries" in the "Usage" chapter of the
manual, it explains about LD_LIBRARY_PATH which is what you need here.

regards
Brian



More information about the Gsl-discuss mailing list