This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: running gsl on mdk8.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]