[DebianGIS-dev] Bug#580973: Bug#580973: libhdf5-serial-dev: Fails on linkage on amd64

Francesco P. Lovergine frankie at debian.org
Tue May 11 07:36:07 UTC 2010


On Mon, May 10, 2010 at 01:03:03PM +0300, Orgad Shaneh wrote:
> Package: libhdf5-serial-dev
> Version: 1.8.4-patch1-2
> Severity: important
> 
> When trying to link a shared library using libhdf5, I receive the
> following message:
> /usr/bin/ld: /usr/lib/libhdf5.a(H5.o): relocation R_X86_64_32 against
> `H5_debug_g' can not be used when making a shared object; recompile
> with -fPIC
> /usr/lib/libhdf5.a: could not read symbols: Bad value
> 
> I tried rebuilding the package, specifying -fPIC in DEBOPT, and it
> helps. On i386 it is unneeded.
> 

Are you trying to create a shared object/program with also static libraries?

-- 
Francesco P. Lovergine





More information about the Pkg-grass-devel mailing list