From: Nabil Ghodbane Date: Thu, 14 Apr 2022 11:34:29 +0000 (+0200) Subject: if libOT.so.0 not present rearrange the links X-Git-Tag: V9_9_0~86 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=784f80afd533526735b759afd9242a650d597bb1;p=tools%2Fsat_salome.git if libOT.so.0 not present rearrange the links --- diff --git a/products/compil_scripts/openturns-1.18.sh b/products/compil_scripts/openturns-1.18.sh index bd485eb..0fa799a 100755 --- a/products/compil_scripts/openturns-1.18.sh +++ b/products/compil_scripts/openturns-1.18.sh @@ -361,7 +361,14 @@ if [[ -d "$SOURCE_DIR/otfftw-0.11" ]]; then fi fi -# add the site.py file +cd ${PRODUCT_INSTALL}/lib +# On some nodes, the link to OT is not done properly. +if [[ ! -f libOT.so.0 ]]; then + echo "INFO: Fixing libOT.so" + ln -sf libOT.so.0.19.0 libOT.so.0.19 + ln -sf libOT.so.0.19 libOT.so.0 + ln -sf libOT.so libOT.so.0 +fi echo echo "########## END"