Did you download the STAF262-linux.tar.gz file and use STAFInst to install, or did you download the STAF262-setup.linux.jar or .bin file to install STAF?
If you downloaded the STAF262-linux.tar.gz file, I'm guessing that you did not do the install correctly. You must untar this file into a temporary directory (e.g. /tmp/staf262) and then run ./STAFInst to do the install (which will install STAF to /usr/local/staf by default unless you override it using the -t <TargetDirectory> parameter. When using the STAFInst method, you are responsible for setting the environment variables that STAF requires: PATH, LD_LIBRARY_PATH, CLASSPATH (and STAFCONVDIR if you didn't install STAF to the default location, /usr/local/staf) . Please verify that you set those up correctly.
Please see the STAF User's Guide, section "3.4.3 Installing Using STAFInst", for more information.
Post again if you're still having problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
STAF V2.6.2: Got the following error when starting STAFProc, when the staf/lib directory contains this file.
[root@tobiko bin]# ./STAFProc
./STAFProc: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@tobiko bin]#
Did you download the STAF262-linux.tar.gz file and use STAFInst to install, or did you download the STAF262-setup.linux.jar or .bin file to install STAF?
If you downloaded the STAF262-linux.tar.gz file, I'm guessing that you did not do the install correctly. You must untar this file into a temporary directory (e.g. /tmp/staf262) and then run ./STAFInst to do the install (which will install STAF to /usr/local/staf by default unless you override it using the -t <TargetDirectory> parameter. When using the STAFInst method, you are responsible for setting the environment variables that STAF requires: PATH, LD_LIBRARY_PATH, CLASSPATH (and STAFCONVDIR if you didn't install STAF to the default location, /usr/local/staf) . Please verify that you set those up correctly.
Please see the STAF User's Guide, section "3.4.3 Installing Using STAFInst", for more information.
Post again if you're still having problems.
The install that was used is STAF262-setup-linux.bin. I uninstalled, and installed a couple times.
Did you logout (or reboot) after installing? The ISMP install for STAF updates environment variables (e.g PATH, LD_LIBRARY_PATH, CLASSPATH).
Verify that the necessary environment variables were correctly updated. If not, update them manually.
export PATH=/usr/local/staf/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/staf/lib:$LD_LIBRARY_PATH
export CLASSPATH=/usr/local/staf/lib/JSTAF.jar:$CLASSPATH