Re: Fwd: ax_lib_hdf5 bug with library ordering, static libraries
Eric Blake <[email protected]> Tue, 30 Aug 2016 16:14:44 -0500
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers,gmane.comp.sysutils.autoconf.bugs |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 08/30/2016 03:57 PM, Harald Anlauf wrote: > > I have a system where HDF5 installation seems to differ from what the > autoconf package ax_lib_hdf5 expects: > Except that autoconf proper doesn't provide ax_lib_hdf5. Given the ax_ prefix, it probably belongs to the Autoconf Archive project, https://www.gnu.org/software/autoconf-archive/ I'm not sure if I have the correct bug reporting address for that project, so I've added the maintainer address mentioned in the manual in cc. > % h5fc -show > gfortran -I/usr/include -L/usr/lib /usr/lib/libhdf5hl_fortran.a > /usr/lib/libhdf5_hl.a /usr/lib/libhdf5_fortran.a /usr/lib/libhdf5.a > -lpthread -lz -lrt -ldl -lm -Wl,-rpath -Wl,/usr/lib > > Using the latest snapshot of ax_lib_hdf5, I get: > > configure.in: > > AX_LIB_HDF5([serial]) > echo "HDF5_LDFLAGS=$HDF5_LDFLAGS" > echo "HDF5_FLIBS=$HDF5_FLIBS" > echo "HDF5_FFLAGS=$HDF5_FFLAGS" > > Running configure: > > checking for a sed that does not truncate output... /usr/bin/sed > checking for gawk... gawk > checking for h5cc... /usr/bin/h5cc > checking for HDF5 type... serial > checking for HDF5 libraries... yes (version 1.8.12) > checking hdf5.h usability... yes > checking hdf5.h presence... yes > checking for hdf5.h... yes > checking for H5Fcreate in -lhdf5... yes > checking for main in -lhdf5_hl... yes > checking for matching HDF5 Fortran wrapper... /usr/bin/h5fc > HDF5_LDFLAGS=-L/usr/lib > HDF5_FLIBS= -lm -ldl -lrt -lz -lpthread -lhdf5_fortran -lhdf5 > -lhdf5hl_fortran -lhdf5_hl > HDF5_FFLAGS=-I/usr/lib -L/usr/lib -I/usr/include > > The ordering of the libraries in HDF5_FLIB seems to get screwed up. > I think the logic in rewriting the FLIB part in lines 270-308 is not > prepared to handle my environment. > > Is somebody still working on the HDF5 support? > > Thanks, > Harald > > > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
(application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXxfdEAAoJEKeha0olJ0NqWAYH/iVX8d01WM1m4kz7MnBoIzRb Nz16Hjira7kZfIUQzMh6SHlIAdKwn0ltCHWc8YAzjIMW5g5KLOJXP8vtay7vPThY 4s2XbJZ4p0L7+5qBOibMybpzO/TpRIf4aw/ryItssvHs3rYocEgATfiqRcUZXFrJ 97v1n8aWW6s8fEyMBq9QJ/qtP9VgauHANVUy4Q42MJhhvy9YVIpniz6Gs9y5xpHZ erLYyRx4NzJSHW2nohsxwdJtby77V7XUXQN5Nk9Gn/onntqC5/SaJl9HNpB514jl /4e9hSn6YW62IMWxwz85Ebue+2jB0/mCEHCTA7Wu6MQAGj1nv0PfIMYkkBFgifg= =kvyD -----END PGP SIGNATURE-----