export ENV_FOR_LAUNCH=1
EOF
+### !!! The next is for RedHat 9 only !!!
+if [ -f /etc/redhat-release ] ; then
+ grep -e "Red Hat Linux release 9" /etc/redhat-release > /dev/null
+ if [ $? -eq 0 ] ; then
+ cat >> ${install_work}/$SHRC <<EOF
+#${DELIM} Force RH9 to use old implementation of threads ${DELIM}
+export LD_ASSUME_KERNEL=2.4.18
+
+EOF
+ fi
+fi
### !!! writing salome.csh file !!! -> set inital variables
pre_vars="PATH LD_LIBRARY_PATH LD_RUN_PATH PYTHONPATH TCLLIBPATH"
for i in $pre_vars ; do