Bug#761244: [hdf5-helpers] wrong library path in h5fc

Julien Bigot julien at julien-bigot.fr
Thu Sep 11 17:56:31 UTC 2014


Package: hdf5-helpers
Version: 1.8.13+docs-10
Severity: important

--- Please enter the report below this line. ---

The h5fc compiler wrapper uses a path for libraries that does not match that 
of the libraries provided by the libhdf5 package.
The h5cc wrapper has no such problem.

$ h5fc -show 
gfortran -g -O2 -fstack-protector-strong -I/usr/include/hdf5/serial -
L/usr/lib/x86_64-linux-gnu/hdf5/_serial /usr/lib/x86_64-linux-
gnu/hdf5/_serial/libhdf5hl_fortran.a /usr/lib/x86_64-linux-
gnu/hdf5/_serial/libhdf5_hl.a /usr/lib/x86_64-linux-
gnu/hdf5/_serial/libhdf5_fortran.a /usr/lib/x86_64-linux-
gnu/hdf5/_serial/libhdf5.a -Wl,-z,relro -lpthread -lz -ldl -lm -Wl,-rpath -
Wl,/usr/lib/x86_64-linux-gnu/hdf5/_serial

$ h5cc -show
/usr/bin/cc -I/usr/include/hdf5/serial -D_LARGEFILE_SOURCE -
D_LARGEFILE64_SOURCE -D_BSD_SOURCE -D_FORTIFY_SOURCE=2 -g -O2 -fstack-
protector-strong -Wformat -Werror=format-security -L/usr/lib/x86_64-linux-
gnu/hdf5/serial /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_hl.a 
/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.a -Wl,-z,relro -lpthread -lz -
ldl -lm -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/hdf5/serial

$ ls /usr/lib/x86_64-linux-gnu/hdf5/_serial/libhdf5hl_fortran.a
ls: cannot access /usr/lib/x86_64-linux-gnu/hdf5/_serial/libhdf5hl_fortran.a: 
No such file or directory

$ ls /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.a
/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.a

(notice the additional underscore in the fortran version: _serial vs. serial)

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.16-1-amd64

Debian Release: jessie/sid
  990 unstable        ftp.debian.org 
  500 testing         ftp.debian.org 
  500 stable          ftp.debian.org 
  500 stable          download.videolan.org 
  500 saucy           ppa.launchpad.net 
  500 raring          ppa.launchpad.net 
    1 experimental    ftp.debian.org 
    1 experimental    cdn.debian.net 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



More information about the Pkg-grass-devel mailing list