]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
if libOT.so.0 not present rearrange the links
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 14 Apr 2022 11:34:29 +0000 (13:34 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 14 Apr 2022 11:34:29 +0000 (13:34 +0200)
products/compil_scripts/openturns-1.18.sh

index bd485ebf9b39751eea34c75fe4f1c4338f564ec5..0fa799af57973ad1db0658ee43c094c9565c9e57 100755 (executable)
@@ -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"