[DebianGIS-dev] Bug#463393: hdf5: FTBFS: missing library libh5test-1.6.5.so.0

Adam C Powell IV hazelsct at debian.org
Thu Jan 31 11:12:08 UTC 2008


Package: hdf5
Version: 1.6.5-5
Severity: serious
Tags: patch

Greetings,

The binary h5perf in the hdf5-tools package requires the library
libh5test-1.6.5.so.0 which is not in any binary package.  With
hdf5-tools installed, this results in:
# /usr/bin/h5perf
h5perf: error while loading shared libraries: libh5test-1.6.5.so.0:
cannot open shared object file: No such file or directory

Because of this, dh_shlibdeps is failing:
dh_shlibdeps -phdf5-tools -Llibhdf5-serial-1.6.5-0 -ldebian/libhdf5-serial-1.6.5-0/usr/lib
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn't find library libh5test-1.6.5.so.0 needed by debian/hdf5-tools/usr/bin/h5perf (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary-arch] Error 1

It seems dh_shlibdeps has become stricter, so this now causes FTBFS,
which is RC. :-(

Note the library is sitting right in the test directory.  Aha, it
defines PUB_LIB= so PUB_LIB=$(LIB) is ignored.  The attached patch fixes
this, and makes the install_shlib and install_devlib files more general
so it gets installed in the package.

Now the package builds, and the result is:
# /usr/bin/h5perf
No parallel IO performance because parallel is not configured

Cheers,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdf5-installtestlib.patch
Type: text/x-patch
Size: 926 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20080131/b2f59ad8/attachment.bin 


More information about the Pkg-grass-devel mailing list