This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: shared library problem
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: "Chi-Ho Cheng" <phcch at hotmail dot com>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Fri, 20 Jun 2003 15:30:34 +0100
- Subject: Re: shared library problem
- References: <Law8-OE630UBmeirRuq00010835@hotmail.com>
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.