Hi everyone!
I am using a code on a machine, and it works fine.
I compile with
gcc -c -g KANT.c
g77 -c -g tn.f
g77 -c -g blas.f
gcc -g KANT.o tn.o blas.o -lgsl -lgslcblas -lg2c
(Thanks to this forum I found out how to mix fortran and c in the same code).
Now I want to work on another machine that doesn't have gsl libraries installed and I don't have administration rights.
So I downloaded gsl localy.
and I type
gcc -c -I/data/mtsamado/KANT_8-8-2007/gsl/include/ KANT.c
gcc -L/data/mtsamado/KANT_8-8-2007/gsl/lib KANT.o -lgsl -lgslcblas
the executable a.out is generated but when I try to run it I get the error message :
./a.out: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
Any ideas ??
Thanks a lot.
Michel