From 784f80afd533526735b759afd9242a650d597bb1 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 14 Apr 2022 13:34:29 +0200 Subject: [PATCH] if libOT.so.0 not present rearrange the links --- products/compil_scripts/openturns-1.18.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" -- 2.39.2