--- configure.orig	2014-07-08 07:59:05.000000000 -0700
+++ configure	2019-07-24 06:27:18.000000000 -0700
@@ -17844,7 +17844,7 @@
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -lgdcmexpat -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmjpeg8 -lgdcmopenjpeg -lgdcmuuid -lgdcmzlib
+LIBS="-lgdcmCommon.2.8 -lgdcmDICT.2.8 -lgdcmDSED.2.8 -lgdcmIOD.2.8 -lgdcmMSFF.2.8 -lgdcmjpeg12.2.8 -lgdcmjpeg16.2.8 -lgdcmjpeg8.2.8
     $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -17871,7 +17871,7 @@
 $as_echo "$ac_cv_lib_gdcmCommon_main" >&6; }
 if test "x$ac_cv_lib_gdcmCommon_main" = xyes; then :
   oln_have_gdcm=yes
-       GDCM_LDFLAGS="$GDCM_LDFLAGS -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -lgdcmexpat -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmjpeg8 -lgdcmopenjpeg -lgdcmuuid -lgdcmzlib"
+       GDCM_LDFLAGS="$GDCM_LDFLAGS -lgdcmCommon.2.8 -lgdcmDICT.2.8 -lgdcmDSED.2.8 -lgdcmIOD.2.8 -lgdcmMSFF.2.8 -lgdcmjpeg12.2.8 -lgdcmjpeg16.2.8 -lgdcmjpeg8.2.8"
 
 $as_echo "#define HAVE_GDCM 1" >>confdefs.h
 
