[Pkg-scicomp-devel] Bug#434792: suitesparse: FTBFS: Not using -fPIC to make shared library.
Kurt Roeckx
kurt at roeckx.be
Thu Jul 26 19:10:22 UTC 2007
Package: suitesparse
Version: 3.0.0-5
Severity: serious
Hi,
Your package is failing to build with the following error:
cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -c ../Source/ldl.c -o ldl.oo
cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -DLDL_LONG -c ../Source/ldl.c -o ldll.oo
cc -fexceptions -Wall -O3 -m64 -I../../UFconfig -I../Include -shared *.oo -lm -Wl,-soname -Wl,libldl.so.1 -o libldl.so.1.2
/usr/bin/ld: ldl.oo: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
ldl.oo: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libldl.so.1.2] Error 1
The first line of that shows that ldl.oo wasn't build using -fPIC, which
you need to create a shared library. Please see section 10.2 of the
policy.
PS: Why is it using "-m64"? There is no reason to use that, since it's
the default.
Kurt
More information about the Pkg-scicomp-devel
mailing list