It works compiling with gcc -Wall codice.c -static -L/home/altro/gsl/lib -I/home/altro/gsl/include -lgsl -lgslcblas -lm ,
as you suggest. Thank you and regards, A. --- Ven 15/7/11, Francesco Abbate <[email protected]> ha scritto: Da: Francesco Abbate <[email protected]> Oggetto: Re: [Help-gsl] symbol lookup error, using non-defaul installation path A: "Altro" <[email protected]> Cc: [email protected] Data: Venerdì 15 luglio 2011, 14:54 Hi, probably the problem is that the dynamic linker of the OS use the GSL shared library of your system and this latter is an older version of GSL. You should try to use LD_LIBRARY_PATH to make the linux linker search first the directory where you have the new gsl library 1.15. Otherwise you can statically link with the gsl library to avoid problems with the shared library. Regards, Francesco 2011/7/15 Altro <[email protected]>: > Hi, > I installed the gsl v 1.15 in my home. > As the documentation suggests, I compile the program using > > gcc -Wall codice.c -L/home/altro/gsl/lib -I/home/altro/gsl/include -lgsl > -lgslcblas -lm -o c.out > > I don't receive any warning o error, but when I launch the executable, I > receive: > > ./c.out: symbol lookup error: ./c.out: undefined symbol: > gsl_ovediv2_step_rk4 > > Do you know the solution to this problem? > Please help me. > > Regards, > > A. > > _______________________________________________ > Help-gsl mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-gsl > -- Francesco _______________________________________________ Help-gsl mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gsl
