Use of gsl on x86_64
Rick Stevens
rstevens at internap.com
Fri Dec 21 20:53:57 UTC 2007
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 at internap.com -
- CDN Systems, Internap, Inc. http://www.internap.com -
- -
- You possess a mind not merely twisted, but actually sprained. -
----------------------------------------------------------------------
More information about the fedora-list
mailing list