Index: /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh	(revision 28188)
+++ /issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh	(revision 28189)
@@ -67,5 +67,5 @@
 cmake \
 	-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-	-DBLAS_LIBRARIES="${BLAS_ROOT}/lib/libfblas.a;${LIBGFORTRAN_ROOT}/libgfortran.a;${LIBGFORTRAN_ROOT}/libquadmath.a;${LIBGCC}" \
+	-DBLAS_LIBRARIES="${BLAS_ROOT}/lib/libfblas.a;$-L${LIBGFORTRAN_ROOT};-lgfortran" \
 	-DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \
 	-DCURL_LIBRARY="${CURL_ROOT}/lib/libcurl.a" \
Index: /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh
===================================================================
--- /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh	(revision 28188)
+++ /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh	(revision 28189)
@@ -33,4 +33,6 @@
 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself
 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
+LIBQUADMATH="/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0" # Important that this is the library itself
+LIBQUADMATH_DIST="${ISSM_DIR}/lib/libquadmath.so.0" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
 
 ## Environment
@@ -72,6 +74,7 @@
 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m
 
-echo "Moving libgfortran to lib/"
+echo "Moving libgfortran and libquadmath to lib/"
 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null
+cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2> /dev/null
 
 echo "Moving MPICH binaries to bin/"
Index: /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh
===================================================================
--- /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh	(revision 28188)
+++ /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh	(revision 28189)
@@ -33,4 +33,6 @@
 LIBGFORTRAN="/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" # Important that this is the library itself
 LIBGFORTRAN_DIST="${ISSM_DIR}/lib/libgfortran.so.5" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
+LIBQUADMATH="/usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0" # Important that this is the library itself
+LIBQUADMATH_DIST="${ISSM_DIR}/lib/libquadmath.so.0" # Important the file name matches the SONAME entry in the binaries and other shared libraries which link to it
 
 ## Environment
@@ -66,6 +68,7 @@
 cat generic_static.py | sed -e "s/generic_static/generic/g" > generic.py
 
-echo "Moving libgfortran to lib/"
+echo "Moving libgfortran and libquadmath to lib/"
 cp ${LIBGFORTRAN} ${LIBGFORTRAN_DIST} 2> /dev/null
+cp ${LIBQUADMATH} ${LIBQUADMATH_DIST} 2> /dev/null
 
 echo "Moving MPICH binaries to bin/"
