Skip to content

1.10.7 - Pkgconfig on cmake build incomplete (RHEL 7.8 (Toss3)) #218

@dmageeLANL

Description

@dmageeLANL

Here are the files in $prefix/lib/pkgconfig when building with cmake:

~ ls lib/pkgconfig
hdf5-1.10.7.pc  hdf5_fortran-1.10.7.pc  hdf5_hl-1.10.7.pc

It's missing the fortran_hl config file. Also the pc files themselves point at a pc file that isn't there:

~ cat lib/pkgconfig/hdf5_hl-1.10.7.pc
prefix=/usr/projects/hpcsoft/toss3/kodiak/hdf5/1.10.7_gcc-9.3.0_openmpi-3.1.6
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: hdf5_hl
Description: HDF5 (Hierarchical Data Format 5) Software Library
Version: 1.10.7

Cflags: -I${includedir}
Libs: -L${libdir}  -lhdf5_hl
Requires: hdf5
Libs.private:   -lhdf5_hl
Requires.private: hdf5
~
~ cat lib/pkgconfig/hdf5_fortran-1.10.7.pc
prefix=/usr/projects/hpcsoft/toss3/kodiak/hdf5/1.10.7_gcc-9.3.0_openmpi-3.1.6
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: hdf5_fortran
Description: HDF5 (Hierarchical Data Format 5) Software Library
Version: 1.10.7

Cflags: -I${includedir}
Libs: -L${libdir}  -lhdf5_fortran
Requires: hdf5
Libs.private:   -lhdf5_fortran
Requires.private: hdf5

There's no hdf5.pc file so the compiler wrappers h5fc and h5hlcc are broken.

Also there is no h5hlfc wrapper in bin which is confusing considering there are fortran hl libraries and h5hlcc exists in bin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions