shared library problem

Brian Gough bjg@network-theory.co.uk
Fri Jun 20 14:30:00 GMT 2003


Chi-Ho Cheng writes:
 > I am new to both GSL and Linux.  Recently I installed GSL-1.3 in my
 > Mandrake Linux release 9.0 I tried an example program appearing in
 > reference manual, and compile it under the following procedure,gcc
 > -c gsltest.c gcc gsltest.o -lgsl -lgslcblasThere's no error in
 > generating an executing file, but an error message comes after
 > execution,a.out: error while loading shared libraries:
 > libgsl.so.0:cannot open shared object file: No such file or
 > directoryI checked there's indeed libgsl.so.0 in /usr/local/libAm I
 > missing something?Thanks.Chiho

you need the variable LD_LIBRARY_PATH described in the "Usage" chapter.



More information about the Gsl-discuss mailing list