From 7f1e4676b377fdb0d5eedfe8d42d33dc7fd863c0 Mon Sep 17 00:00:00 2001 From: Julie Prestopnik Date: Mon, 13 Nov 2023 18:52:51 -0700 Subject: [PATCH] Per #2611, adding LDFLAGS in an attempt to resolve errors --- internal/scripts/docker/build_met_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/scripts/docker/build_met_docker.sh b/internal/scripts/docker/build_met_docker.sh index 545705d2c6..5a593ceeb9 100755 --- a/internal/scripts/docker/build_met_docker.sh +++ b/internal/scripts/docker/build_met_docker.sh @@ -10,7 +10,7 @@ LOG_FILE=/met/logs/MET-${MET_GIT_NAME}_configure.log echo "Running bootstrap for MET ${MET_GIT_NAME} and writing log file ${LOG_FILE}" ./bootstrap > ${LOG_FILE} 2>&1 echo "Configuring MET ${MET_GIT_NAME} and appending to log file ${LOG_FILE}" -./configure BUFRLIB_NAME=-lbufr_4 GRIB2CLIB_NAME=-lg2c --enable-grib2 --enable-ugrid --enable-mode_graphics --enable-modis --enable-lidar2nc --enable-python CPPFLAGS="-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/cairo" LIBS="-ltirpc" >> ${LOG_FILE} 2>&1 +./configure BUFRLIB_NAME=-lbufr_4 GRIB2CLIB_NAME=-lg2c --enable-grib2 --enable-ugrid --enable-mode_graphics --enable-modis --enable-lidar2nc --enable-python CPPFLAGS="-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/cairo" LDFLAGS="-L/usr/local/lib" LIBS="-ltirpc" >> ${LOG_FILE} 2>&1 if [ $? != 0 ]; then cat ${LOG_FILE} exit 1