Changeset 27761


Ignore:
Timestamp:
05/17/23 17:01:33 (22 months ago)
Author:
jdquinn
Message:

CHG: Need to explicitly link to libhdf5

Location:
issm/trunk-jpl/externalpackages/gmt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh

    r27700 r27761  
    2020
    2121GDAL_EXTRA_LIBS="-lstdc++" # Determined by running `$GDAL_ROOT/bin/gdal-config --dep-libs` then removing duplicate libs
    22 NETCDF_EXTRA_LIBS="-lm -ldl -lz" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)
     22NETCDF_EXTRA_LIBS="-L${HDF5_ROOT}/lib -lhdf5 -lhdf5_hl -lm -ldl -lz" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)
    2323
    2424# Environment
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh

    r27701 r27761  
    2020
    2121GDAL_EXTRA_LIBS="-lc++" # `$GDAL_ROOT/bin/gdal-config --dep-libs` does not report need to link to libc++ (see also customized configuration file ./configs/6/static/cmake/modules/FindGDAL.cmake)
    22 NETCDF_EXTRA_LIBS="-lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
     22NETCDF_EXTRA_LIBS="-L${HDF5_ROOT}/lib -lhdf5 -lhdf5_hl -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
    2323
    2424# Environment
Note: See TracChangeset for help on using the changeset viewer.