undefined reference
Cheng Xing
cx101@ohm.york.ac.uk
Mon Sep 22 18:44:00 GMT 2003
Well, I input gsl-config --lib, and get
-L/usr/local/lib -lgsl -lgslcblas -lm
So is that ok to compile with 'gcc filename -lgsl -lgslcblas -lm'?
I did compile successfully this time, but got another warning message
when run the file a.out. It said:
a.out: error while loading shared libraries: libgsl.so.0 : cannot open
shared object file: No such file or directory.
But I did find this file in my usr/local/lib
-Cheng
More information about the Gsl-discuss
mailing list