Most likely you are running into a problem described in the STAF FAQ,
entry "3.3.12 When logged into the desktop on RHEL4-U4, if I run
"STAFProc" or "STAF", I get "error while loading shared libraries:
libSTAF.so"." at http://staf.sourceforge.net/current/STAFFAQ.htm#d0e1657
This error "error while loading shared libraries: libSTAF.so: cannot open
shared object file: No such file or directory" means that the STAF
libraries (including libSTAF.so) could not be found. These libraries are
usually located in /usr/local/staf/lib, and the environment variable
LD_LIBRARY_PATH should include this directory so that the libraries are
found. Normally you would either use the STAF InstallAnywhere installer to
install STAF, which will automatically update /etc/profile with the
required environment variables (including LD_LIBRARY_PATH) or you would
manually edit /etc/profile and set the environment variables. However, in
later versions of some Linux operating systems, when logging into the
desktop, any references to LD_LIBRARY_PATH in /etc/profile will be
ignored. This means that after logging into the deskop, all of the
required STAF environment variables (PATH, CLASSPATH, etc) will be set
except for LD_LIBRARY_PATH, which will cause this error. To correct this,
after logging in to the desktop, you can source the profile, or run the
STAFEnv script:
# cd /usr/local/staf
# . ./STAFEnv.sh
or set LD_LIBRARY_PATH in the terminal from which you are using STAF:
export LD LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/staf/lib"
or modify/add LD_LIBRARY_PATH to ~/.bashrc like:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/staf/lib"
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: S Sribastab <sribastab...@gmail.com>
To: staf-users@lists.sourceforge.net
Date: 11/30/2015 08:45 AM
Subject: [staf-users] Staf Error On Ubuntu
Hi,
Am getting below staf errors after installing staf on Ubuntu
blr-ubuntu-78:~> staf
staf: error while loading shared libraries: libSTAF.so: cannot open shared
object file: No such file or directory
Can u get me some workarounds
--
Thanks & Regards
Mr.Sribastab
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple
OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users