]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a bug with environment for CASCADE libraries (Debian)
authorvsr <vsr@opencascade.com>
Tue, 20 Dec 2005 16:17:34 +0000 (16:17 +0000)
committervsr <vsr@opencascade.com>
Tue, 20 Dec 2005 16:17:34 +0000 (16:17 +0000)
config_files/CAS-6.0.sh

index 8ce70ae09bf2fb255ab8b13572d84221ff53b37c..3e8b4dae59c97496e0a3e6fb753efd7b6ecdad25 100755 (executable)
@@ -25,7 +25,7 @@ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export CASROOT=\${INSTALL_ROOT}/${PRODUCT}
 export PATH=\${CASROOT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${CASROOT}/lib:\${LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH=\${CASROOT}/lib:\${CASROOT}/lin/lib:\${LD_LIBRARY_PATH}
 # Variable for Foundation Classes : 
 export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
 export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat 
@@ -49,7 +49,7 @@ if [ $? -eq 0 ] ; then
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export CASROOT=${CASROOT}
 export PATH=\${CASROOT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${CASROOT}/lib:\${LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH=\${CASROOT}/lib:\${CASROOT}/lin/lib:\${LD_LIBRARY_PATH}
 # Variable for Foundation Classes : 
 export CSF_UnitsLexicon=\${CASROOT}/src/UnitsAPI/Lexi_Expr.dat 
 export CSF_UnitsDefinition=\${CASROOT}/src/UnitsAPI/Units.dat