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

Orgad Shaneh orgads at gmail.com
Wed Jul 28 08:58:33 UTC 2010


On Wed, Jul 28, 2010 at 11:42 AM, Francesco P. Lovergine <frankie at debian.org
> wrote:

> On Tue, Jul 27, 2010 at 10:31:19PM +0300, Orgad Shaneh wrote:
> > On Tue, May 11, 2010 at 10:36 AM, Francesco P. Lovergine <
> frankie at debian.org
> > > wrote:
> >
> > > 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
> > >
> >
> > I'm creating a shared library, linking to hdf5 with -lhdf5. No static
> > linking (as far as I know).
> >
>
> It would be helpful receiving a full build log. HDF5 shared libs are
> used by many reverse dependencies with no problems, I seriously
> doubt your shared lib is using the correct building snippet.
>
> --
> Francesco P. Lovergine
>

Ok, you're right. I guess it happened because we switched from 32 to 64 bit,
and apparently didn't rebuild the whole project, and had some 32-bit
leftovers...

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20100728/581a5b81/attachment.htm>


More information about the Pkg-grass-devel mailing list