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: Dirk Eddelbuettel <edd at debian dot org>
- Subject: Re: running gsl on mdk8.1
- From: I-Lin Wang <ilinwang at yahoo dot com>
- Date: Fri, 2 Nov 2001 20:35:23 -0800 (PST)
- Cc: gsl-discuss at sources dot redhat dot com
- Reply-To: ilin at pair dot com
hi, Dirk,
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
> Hm. Might the order matter? -lgsl -lgslcblas
>
> > ilin:~/from_c/c> kk
> > kk: error while loading shared libraries: libgslcblas.so.0:
> > cannot load shared o
> > bject file: No such file or directory
> Do you actually have a libgslcblas.so next to your libgsl.so ?
> I do in the version of GSL which I happen to maintain for
> Debian.
Here are what I have in /usr/local/lib
It seems libgsl.so is link to libgsl.so.0.0.0 and
libgslcblas.so.0 links to libgslcblas.so.0.0.0. So? anything
wrong?
-rw-r--r-- 1 root root 12622862 Nov 2 21:42 libgsl.a
-rwxr-xr-x 1 root root 702 Nov 2 21:42
libgsl.la*
lrwxrwxrwx 1 root root 15 Nov 2 21:42 libgsl.so
-> libgsl.so.0.0.0*
lrwxrwxrwx 1 root root 15 Nov 2 21:42
libgsl.so.0 -> libgsl.so.0.0.0*
-rwxr-xr-x 1 root root 4885124 Nov 2 21:42
libgsl.so.0.0.0*
-rw-r--r-- 1 root root 1325134 Nov 2 21:42
libgslcblas.a
-rwxr-xr-x 1 root root 737 Nov 2 21:42
libgslcblas.la*
lrwxrwxrwx 1 root root 20 Nov 2 21:42
libgslcblas.so -> libgslcblas.so.0.0.0*
lrwxrwxrwx 1 root root 20 Nov 2 21:42
libgslcblas.so.0 -> libgslcblas.so.0.0.0*
-rwxr-xr-x 1 root root 632674 Nov 2 21:42
libgslcblas.so.0.0.0*
Thanks
I-Lin
*by the way, in cygwin, I only need to -lgsl and it works always.
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com