> I have installed gsl-1.9 at the GNOME 2.14 terminal. GSL 1.9 is very old. Though I don't suspect this is the source of your problem, please use 1.16.
> I have a code in C and I use the following command to compile it: > > g++ Diffy.c -lgslcblas -lgsl which compiles the code and gives a.out > executable file. Why g++ and not gcc for compilation? I would put -lgslcblas after -gsl, not before it. Again, I don't suspect these are the source of your trouble. Just hygiene things. > When I try to execute "a.out", it gives the following error: > > "libgslcblas.so.0: cannot open shared object file: No such file or > directory" > > Please find attached the pic of "usr/loca/lib" folder. Is /usr/local/lib in your LD_LIBRARY_PATH? What does 'ldd ./a.out' say? Including the text in a response rather than a screenshot is preferred. - Rhys
