[DebianGIS-dev] Bug#420527: ogdi-dfsg: FTBFS: Not using -fPIC to create shared library.

Kurt Roeckx kurt at roeckx.be
Sun Apr 22 22:14:19 UTC 2007


Package: ogdi-dfsg
Version: 3.2.0~beta1-2
Severity: serious

Hi,

Your package is failing to build with the following error:
gcc -shared  -O  -O -Wall   -Wall -DUNIX=1 -Wl,-soname,libvpf.so.3.2 -o /build/buildd/ogdi-dfsg-3.2.0~beta1/bin/Linux/libvpf.so.3.2 vpfselec.o vpftidx.o vpfwrite.o vpftable.o vpfrelat.o vpfprim.o vpfquery.o get_feat.o vpfdproj.o coorgeom.o vpfspx.o set.o linklist.o reduce2.o vpfread.o vpfprop.o strfunc.o musedir.o
/usr/bin/ld: vpfselec.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
vpfselec.o: could not read symbols: Bad value
collect2: ld returned 1 exit status


Please see policy section 10.2.


Kurt





More information about the Pkg-grass-devel mailing list