How to config the STAF on Mac os

  • Anonymous - 2012-12-04

    I install the staf for mac version, and finished the installation
    1. Run ./
    2.  run ./
    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

  • Sharon Lucas

    Sharon Lucas - 2012-12-04

    You need to source to set the STAF Environment variables in a terminal.  You didn't.

    1.  Start STAFProc (you did this correctly):  ./
    2.  Open a terminal and source to set the STAF Environment variables:
         a.  Change to the directory where you installed STAF (and which contains
         b.  . ./
         Yes, that's a period, then a space, then a period immediately followed by /
         c. Now the STAF environment variables will be set in this terminal since you sourced  So, for example, when you do the following, you could see the STAF lib directory in the DYLD_LIBRARY_PATH environment variable:
         echo $DYLD_LIBRARY_PATH

    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 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 in section "7 Environment Variable Settings".


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks