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: M A
Subject: Re: [Help-gsl] symbol lookup error, using non-defaul installation path
Date: Mon, 18 Jul 2011 16:32:19 +0100 (BST)

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 <address@hidden> ha scritto:

Da: Francesco Abbate <address@hidden>
Oggetto: Re: [Help-gsl] symbol lookup error, using non-defaul installation path
A: "Altro" <address@hidden>
Cc: address@hidden
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 <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]