diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index 9157e2f7d37c898f0eacc4d982db4437690d8789..15c7fc8fde0f0123acbf8ce397c2a0310c330cf1 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -472,7 +472,7 @@ nagg(){
     rm -fr ${BUILD}/hdf5_HL_REGION*  
     install_the_source ${tar_name}  && \
     cd hdf5_HL_REGION*  && \
-    export HDF5_INSTALL_DIR=${USER_COTS_PATH}  && \
+    export HDF5_INSTALL_DIR=${USER_COTS_PATH}/lib  && \
     export LDFLAGS=" -static -L${USER_COTS_PATH}/lib "  && \
  
     ls ${USER_COTS_PATH}/lib