The problem is that on AIX environment variable LIBPATH needs to include 
/usr/local/staf/lib.  Are you using a custom STAFEnv.sh file?  The 
STAFEnv.sh you included is setting environment variable LD_LIBRARY_PATH 
instead of LIBPATH.  When I installed the STAF332-aix64.tar file, the 
STAFEnv.sh file is setting LIBPATH.

David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com




Sangram Bakshi <san...@gmail.com> 
02/09/2009 12:01 AM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Problem while running STAFProc .Kindly suggest problem 
shooters.






Hi,
 
I am trying to install and run STAF installed using (STAF332-aix64.tar) in 
aix as 
 
uname -a
AIX etr6506l3-aix81 2 5 005AE1DC4C00
I get the problem when i run STAFProc
./STAFProc
exec(): 0509-036 Cannot load program ./STAFProc because of the following 
errors:
        0509-150   Dependent module libSTAF.so could not be loaded.
        0509-022 Cannot load module libSTAF.so.
        0509-026 System error: A file or directory in the path name does 
not exist.
 
I have run STAFEnv.sh
as . ./STAFEnv.sh
 
#!/bin/ksh
# STAF environment variables
PATH=/usr/local/staf/bin:${PATH:-}
LD_LIBRARY_PATH=/usr/local/staf/lib:${LD_LIBRARY_PATH:-}
CLASSPATH=/usr/local/staf/lib/JSTAF.jar:/usr/local/staf/samples/demo/STAFDemo.jar:${CLASSPATH:-}
STAFCONVDIR=/usr/local/staf/codepage
if [ $# = 0 ]
then
STAF_INSTANCE_NAME=STAF
else
STAF_INSTANCE_NAME=$1
fi
export PATH LD_LIBRARY_PATH CLASSPATH STAFCONVDIR STAF_INSTANCE_NAME
 
 
Java Installed is java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20050609 (JIT 
enabled: jitc))

 
 
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with 
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code 
to
build responsive, highly engaging applications that combine the power of 
local
resources and data with the reach of the web. Download the Adobe AIR SDK 
and
Ajax docs to start building applications 
today-http://p.sf.net/sfu/adobe-com_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to