help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Linking problems with gsl


From: John Pye
Subject: Re: [Help-gsl] Linking problems with gsl
Date: Mon, 23 Apr 2007 22:17:28 +1000
User-agent: Thunderbird 1.5.0.10 (X11/20070302)

Hi Joseph,

Did you try typing

export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib

then running again?

Cheers
JP

Joseph Wakeling wrote:
> I've installed gsl 1.9 from source on Ubuntu 7.04 and am having trouble
> linking programs with the library.
>
> My Makefile includes the use of C flags -I/usr/local/include and
> -L/usr/local/lib along with the library calls -lgsl, -lgslcblas and -lm.
>  However, when I attempt to run the program I still get the message,
>
> error while loading shared libraries: libgsl.so.0: cannot open shared
> object file: No such file or directory
>
> ... yet a simple glance at /usr/local/lib reveals that libgsl.so.0 is
> indeed present.
>
> What could be wrong?  Since I included the appropriate -L command during
> compiling I don't understand why I'm getting this error.  Can anyone advise?
>
> Many thanks,
>
>     -- Joe
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>   

Attachment: john.pye.vcf
Description: Vcard


reply via email to

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