I install the staf for mac version, and finished the installation
1. Run ./STAFEvn.sh
2. run ./startSTAFProc.sh
3. run terminal and input staf, it shows:
dyld: Library not loaded: /opt/dev/autobuild/build/rel/macosx/staf/retail/lib/libSTAF.dylib
Referenced from: /Users/user/Desktop/Staf/bin/staf
Reason: image not found
Trace/BPT trap: 5
You need to source STAFEnv.sh to set the STAF Environment variables in a terminal. You didn't.
1. Start STAFProc (you did this correctly): ./startSTAFProc.sh
2. Open a terminal and source STAFEnv.sh to set the STAF Environment variables:
a. Change to the directory where you installed STAF (and which contains STAFEnv.sh)
b. . ./STAFEnv.sh
Yes, that's a period, then a space, then a period immediately followed by /STAFEnv.sh
c. Now the STAF environment variables will be set in this terminal since you sourced STAFEnv.sh. So, for example, when you do the following, you could see the STAF lib directory in the DYLD_LIBRARY_PATH environment variable:
Note that If you used the STAF InstallAnywhere installation file to install STAF instead of the .zip file, it can set these STAF Environment variables for the system for you during the installation of STAF. Otherwise, you have to set the STAF Environment variables in a terminal by sourcing STAFEnv.sh before you can submit a STAF service request, e.g. by using the STAF command line executable. This is talked about in the STAF Installation Guide at http://staf.sourceforge.net/current/STAFInstall.pdf in section "7 Environment Variable Settings".