[Pkg-jed-sl-modules] Bug#444316: slgsl: FTBFS: Not using -fPIC to create a shared object.

Kurt Roeckx kurt at roeckx.be
Thu Sep 27 18:16:11 UTC 2007


Package: slgsl
Version: 0.7.0-1
Severity: serious

Hi,

Your package is failing to build with the following error:
cc -g -Wall -O2   -shared -fPIC gsl-module.o gslinterp-module.o gslrand-module.ogslfft-module.o gslmatrix-module.o gslcdf-module.o gslconst-module.o gslsf-module.o -o gsl-module.so -lslang -lgsl -lgslcblas   -lm
/usr/bin/ld: gsl-module.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
gsl-module.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gsl-module.so] Error 1

None of those files were build using -fPIC.  Please see section 10.2 of
the Policy.


Kurt






More information about the Pkg-jed-sl-modules mailing list