help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] symbol lookup error, using non-defaul installation path


From: Francesco Abbate
Subject: Re: [Help-gsl] symbol lookup error, using non-defaul installation path
Date: Fri, 15 Jul 2011 14:54:51 +0200

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 <address@hidden>:
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-gsl
>



-- 
Francesco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]