This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: running gsl on mdk8.1
- To: ilin at pair dot com
- Subject: Re: running gsl on mdk8.1
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Sat, 3 Nov 2001 10:53:53 +0000 (GMT)
- Cc: gsl-discuss at sources dot redhat dot com
- References: <20011102220245.A8422@debian.org><20011103043523.50800.qmail@web13305.mail.yahoo.com>
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