Re: Use of gsl on x86_64

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

 



On Fri, 2007-12-21 at 09:57 +0000, William John Murray wrote:
>   Hello there,
>          I am trying to use gsl on F8 with a third party programme
> 'root' (root.cern.ch) which needs to be compiled. On i686 this was fine,
> but on x86_64 I get:
>    
> usr/bin/ld: /usr/lib64/libgslcblas.a(sasum.o): relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC 
> /usr/lib64/libgslcblas.a: could not read symbols: Bad value  
> 
>   The advice from that end is tp do what gcc says - compile gsl with
> -fPIC. I wondered whether there is a reaction here - could we change the
> Fedora build to include this?

Uh, did you try linking against the .so library, libgslcblas.so?  That's
the shared library version and it should be compiled with PIC.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-   You possess a mind not merely twisted, but actually sprained.    -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux