[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #TRA-562319]: configure can't find hdf5 library
- Subject: [netCDF #TRA-562319]: configure can't find hdf5 library
- Date: Mon, 22 May 2023 14:55:09 -0600
Hello,
Looking at the config.log file you provided, it looks like you need to set the
CFLAGS and LDFLAGS.
You'll want to set CFLAGS="-I$H5DIR/include" and LDFLAGS="-L$H5DIR/lib". The
LD_LIBRARY_PATH is already set to load the library at runtime, but you'll need
to set these other environmental variables so that the `configure` script can
properly detect libhdf5 during configure.
Thanks, I hope this helps!
-Ward
> Full Name: Domagoj Podnar
> Email Address: address@hidden
> Organization: Desert Research Institute
> Package Version: 4.9.2
> Operating System: Rocky 8.6
> Hardware: HPE DL360
> Description of problem: configure script can't seem to find hdf5 library even
> though env. variables are set fine (as seen in the config.log) and library is
> in the right directory. Details below.
>
> $ printenv LD_LIBRARY_PATH
> /opt/intel/oneapi/tbb/2021.9.0/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.9.0//libfabric/lib:/opt/intel/oneapi/mpi/2021.9.0//lib/release:/opt/intel/oneapi/mpi/2021.9.0//lib:/opt/intel/oneapi/itac/2021.9.0/slib:/opt/intel/oneapi/debugger/2023.1.0/gdb/intel64/lib:/opt/intel/oneapi/debugger/2023.1.0/libipt/intel64/lib:/opt/intel/oneapi/debugger/2023.1.0/dep/lib:/opt/intel/oneapi/compiler/2023.1.0/linux/lib:/opt/intel/oneapi/compiler/2023.1.0/linux/lib/x64:/opt/intel/oneapi/compiler/2023.1.0/linux/lib/oclfpga/host/linux64/lib:/opt/intel/oneapi/compiler/2023.1.0/linux/compiler/lib/intel64_lin:/opt/hpe/hpc/mpt/mpt-2.28/lib:/smoke1/libs/lib
> $ printenv ZDIR H5DIR
> /smoke1/libs
> /smoke1/libs
> $ ll $H5DIR/lib
> total 22100
> -rw-r--r-- 1 model model 11444052 May 18 09:24 libhdf5.a
> -rw-r--r-- 1 model model 283788 May 18 09:24 libhdf5_hl.a
> -rwxr-xr-x 1 model model 1007 May 18 09:24 libhdf5_hl.la
> lrwxrwxrwx 1 model model 21 May 18 09:24 libhdf5_hl.so ->
> libhdf5_hl.so.310.0.1
> lrwxrwxrwx 1 model model 21 May 18 09:24 libhdf5_hl.so.310 ->
> libhdf5_hl.so.310.0.1
> -rwxr-xr-x 1 model model 155608 May 18 09:24 libhdf5_hl.so.310.0.1
> -rwxr-xr-x 1 model model 958 May 18 09:24 libhdf5.la
> -rw-r--r-- 1 model model 3301 May 18 09:24 libhdf5.settings
> lrwxrwxrwx 1 model model 18 May 18 09:24 libhdf5.so ->
> libhdf5.so.310.1.0
> lrwxrwxrwx 1 model model 18 May 18 09:24 libhdf5.so.310 ->
> libhdf5.so.310.1.0
> -rwxr-xr-x 1 model model 5198104 May 18 09:24 libhdf5.so.310.1.0
> -rw-r--r-- 1 model model 1914482 May 18 09:34 libjasper.a
> -rwxr-xr-x 1 model model 937 May 18 09:34 libjasper.la
> lrwxrwxrwx 1 model model 18 May 18 09:34 libjasper.so ->
> libjasper.so.4.0.0
> lrwxrwxrwx 1 model model 18 May 18 09:34 libjasper.so.4 ->
> libjasper.so.4.0.0
> -rwxr-xr-x 1 model model 1059080 May 18 09:34 libjasper.so.4.0.0
> -rw-r--r-- 1 model model 1520170 May 18 09:28 libpng16.a
> -rwxr-xr-x 1 model model 939 May 18 09:28 libpng16.la
> lrwxrwxrwx 1 model model 19 May 18 09:28 libpng16.so ->
> libpng16.so.16.39.0
> lrwxrwxrwx 1 model model 19 May 18 09:28 libpng16.so.16 ->
> libpng16.so.16.39.0
> -rwxr-xr-x 1 model model 694872 May 18 09:28 libpng16.so.16.39.0
> lrwxrwxrwx 1 model model 10 May 18 09:28 libpng.a -> libpng16.a
> lrwxrwxrwx 1 model model 11 May 18 09:28 libpng.la -> libpng16.la
> lrwxrwxrwx 1 model model 11 May 18 09:28 libpng.so -> libpng16.so
> -rw-r--r-- 1 model model 184006 May 18 08:25 libz.a
> lrwxrwxrwx 1 model model 14 May 18 08:25 libz.so -> libz.so.1.2.13
> lrwxrwxrwx 1 model model 14 May 18 08:25 libz.so.1 -> libz.so.1.2.13
> -rwxr-xr-x 1 model model 138376 May 18 08:25 libz.so.1.2.13
> drwxrwxr-x 2 model model 94 May 18 09:34 pkgconfig
> $
>
>
Ticket Details
===================
Ticket ID: TRA-562319
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.