Index: /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh	(revision 27762)
@@ -20,5 +20,5 @@
 
 GDAL_EXTRA_LIBS="-lstdc++" # Determined by running `$GDAL_ROOT/bin/gdal-config --dep-libs` then removing duplicate libs
-NETCDF_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)
+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)
 
 # Environment
Index: /issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh	(revision 27762)
@@ -20,5 +20,5 @@
 
 GDAL_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)
-NETCDF_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)
+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)
 
 # Environment
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static-with_tests.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static-with_tests.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static-with_tests.sh	(revision 27762)
@@ -17,5 +17,5 @@
 # TODO:
 # - Compile and link curl statically (issue with DAP and system libs on macOS 
-#	with more restirctive Gatekeeper; see also --disable-dap option in 
+#	with more restrictive Gatekeeper; see also --disable-dap option in 
 #	configuration)
 #
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static.sh	(revision 27762)
@@ -17,5 +17,5 @@
 # TODO:
 # - Compile and link curl statically (issue with DAP and system libs on macOS 
-#	with more restirctive Gatekeeper; see also --disable-dap option in 
+#	with more restrictive Gatekeeper; see also --disable-dap option in 
 #	configuration)
 #
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-with_tests.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-with_tests.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-with_tests.sh	(revision 27762)
@@ -22,6 +22,6 @@
 #
 export CC=mpicc
-export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
-export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
+export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
+export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
 
 # Download source
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel.sh	(revision 27762)
@@ -22,6 +22,6 @@
 #
 export CC=mpicc
-export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
-export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
+export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
+export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
 
 # Download source
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh	(revision 27762)
@@ -21,6 +21,6 @@
 # Environment
 #
-export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
-export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
+export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
+export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
 
 # Download source
Index: /issm/trunk-jpl/externalpackages/netcdf/install-4.7.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/netcdf/install-4.7.sh	(revision 27761)
+++ /issm/trunk-jpl/externalpackages/netcdf/install-4.7.sh	(revision 27762)
@@ -21,6 +21,6 @@
 # Environment
 #
-export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
-export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
+export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
+export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
 
 # Download source
