It sounds like you have things working now, but just to clarify for the 
rest of the mailing list, the " libSTAF.so: cannot open shared object 
file: No such file or directory" problem was due to using "export 
LIBPATH", instead of "export LD_LIBRARY_PATH".
 
Thanks, 
David 

David Bender 
STAF/STAX Development 
IBM Software Group, WPLC 
 
11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 
 
Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com 
 





Sangram Bakshi <san...@gmail.com> 
07/30/2009 01:15 AM

To
Sharon Lucas/Austin/i...@ibmus
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] which staf pkg to download for rhel3 vmware






Hi ,
 
I am able to do it properly .

Regards
Sangram

 
On Thu, Jul 30, 2009 at 11:20 AM, Sangram Bakshi <san...@gmail.com> wrote:
Hi Sharon ,
 
I have STAF332-linux.tar  om my rhel3 linux vmware.
 
The configurations are :
 
uname -a
Linux ismevm01-RHAS30U3 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 
i686 i386 GNU/Linux
 
the STAFEnv.sh is :
 
#!/bin/ksh
# STAF environment variables
PATH=/usr/local/staf/bin:${PATH:-}
LD_LIBRARY_PATH=/usr/local/staf/lib:${LD_LIBRARY_PATH:-}
#LIBPATH=/usr/local/staf/lib:${LIBPATH:-}
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 LIBPATH CLASSPATH STAFCONVDIR STAF_INSTANCE_NAME
When i try to run STAFProc i get he error :
 
 ./STAFProc
./STAFProc: error while loading shared libraries: libSTAF.so: cannot open 
shared object file: No such file or directory
Am i using a wrong tar .Kindly let me know .
 
 
Regards
Sangram
 
 
 
 


 
On Thu, Jul 30, 2009 at 3:05 AM, Sharon Lucas <luc...@us.ibm.com> wrote:

Go to the STAF download load page at 
http://staf.sourceforge.net/getcurrent.php and you'll see the STAF 
installer files grouped by operating system, architecture, and Java 
support.   

======================================== ========= ======== 
====================================== ============================= 
========== 
Operating System (Architecture)      Java    Release File                 
                  File format                 File size 
                                     Support 
======================================== ========= ======== 
====================================== ============================= 
========== 
Linux (Intel 32-bit, aka i386 or x86-32) 32-bit    3.3.4.1  
STAF334-setup-linux.bin                InstallAnywhere (Bundled JVM) 65M 
Linux (Intel 32-bit, aka i386 or x86-32) 32-bit    3.3.4.1  
STAF334-setup-linux-NoJVM.bin          InstallAnywhere (No JVM)      23M 
Linux (Intel 32-bit, aka i386 or x86-32) 32-bit    3.3.4.1  
STAF334-linux.tar.gz                   GNU zipped tar                7.2M 
-------------------------------------------------------------------------------------------------------------------------------------------
 

Linux (AMD64, aka x86-64)                64-bit    3.3.4.1  
STAF334-setup-linux-amd64.bin          InstallAnywhere (Bundled JVM) 67M 
Linux (AMD64, aka x86-64)                64-bit    3.3.4.1  
STAF334-setup-linux-amd64-NoJVM.bin    InstallAnywhere (No JVM)      23M 
Linux (AMD64, aka x86-64)                64-bit    3.3.4.1  
STAF334-linux-amd64.tar.gz             GNU zipped tar                7.1M 
-------------------------------------------------------------------------------------------------------------------------------------------
 

Linux (PPC64)                            32-bit    3.3.4.1  
STAF334-setup-linux-ppc64-32.bin       InstallAnywhere (Bundled JVM) 69M 
Linux (PPC64)                            32-bit    3.3.4.1  
STAF334-setup-linux-ppc64-32-NoJVM.bin InstallAnywhere (No JVM)      20M 
Linux (PPC64)                            32-bit    3.3.4.1  
STAF334-linux-ppc64-32.tar.gz          GNU zipped tar                6.6M 
-------------------------------------------------------------------------------------------------------------------------------------------
 

Linux (PPC64)                            64-bit    3.3.4.1  
STAF334-setup-linux-ppc64-64.bin       InstallAnywhere (Bundled JVM) 73M 
Linux (PPC64)                            64-bit    3.3.4.1  
STAF334-setup-linux-ppc64-64-NoJVM.bin InstallAnywhere (No JVM)      25M 
Linux (PPC64)                            64-bit    3.3.4.1  
STAF334-linux-ppc64-64.tar.gz          GNU zipped tar                7.4M 
-------------------------------------------------------------------------------------------------------------------------------------------
 

Linux (IA64)                             64-bit    3.3.4.1  
STAF334-setup-linux-ia64.bin           InstallAnywhere (Bundled JVM) 83M 
Linux (IA64)                             64-bit    3.3.4.1  
STAF334-setup-linux-ia64-NoJVM.bin     InstallAnywhere (No JVM)      25M 
Linux (IA64)                             64-bit    3.3.4.1  
STAF334-linux-ia64.tar.gz              GNU zipped tar                7.5M 

Linux versions like RHEL3 support many system architectures (e.g. i386, 
amd64, ppc64, ia64), so you have to know what architecture your Linux 
machine uses.  You can run command "uname -a" to find out the architecture 
of your Linux machine.  For example: 

- On a Linux Intel 32-bit machine (aka i386 or x86-32), you may see output 
from "uname -a" like the following (note the architecture in bold): 

     Linux yourHostName 2.4.20-28.8 #1 Thu Dec 18 12:53:9 EST 2003 i686 
i686 i386 GNU/Linux 

     If the architecture of your Linux machine is i386, then you would 
chose to download one of the "Linux (Intel 32-bit, aka i386 or x86-32)" 
installer files. 

- On a Linux AMD64 machine (aka x86-64), you may see output from "uname 
-a" like the following (note the architecture in bold): 

     Linux yourHostName 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:58:34 EST 
2009 x86_64 x86_64 x86_64 GNU/Linux 

     If the architecture of your Linux machine is x86_64, then you would 
chose to download one of the "Linux (AMD64, aka x86-64)" installer files.

Then, you'll see that there are three different STAF installer files for 
each of these Linux operating systems/architectures.  Any of these 3 STAF 
installer files can be used to install STAF, but you only need to download 
one of the STAF installer files.  The STAF Installation Guide at 
http://staf.sourceforge.net/current/STAFInstall.pdf provides more 
information on what each STAF installer file is and how to install STAF 
using each type of installer file.  For example, you can use an 
InstallAnywhere file (e.g. STAF334-setup-linux.bin or 
STAF334-setup-linux-NoJVM.bin) to install STAF using InstallAnywhere.  To 
use an installer file like STAF334-setup-linux-NoJVM.bin file, you must 
already have a JVM installed and in your PATH (because InstallAnywhere 
requires Java).  The STAF334-setup-linux.bin file contains a JVM for use 
by InstallAnywhere so you don't have to have a JVM installed to use it to 
install STAF. 

When using an InstallAnywhere installer .bin file to install STAF (one 
with a bundled JVM or one without a JVM), you can either do: 
  - a Graphical install (which requires you have access to the display on 
your Linux machine unless you do a silent install).  For example, to kick 
off a graphical install on a Linux i386 machine, do:   
  ./STAF334-setup-linux.bin 
  - or a Console install (which does not require access to the display so 
you could be sshed to the machine, etc).  For example, to kick off a 
console install, do: 
  ./STAF334-setup-linux.bin -i console 

Note that before executing a STAF installer .bin file, make sure that it 
has executable permissions, e.g. chmod 777 STAF334-stup-linux.bin 

Or, you can download load the tar.gz file and extract it to a temporary 
directory and then run STAFInst to install STAF.  For example if 
downloaded STAF334-linux.tar.gz to the /tmp directory, run the following 
commands to install STAF to the default target location of 
/usr/local/staf: 
  cd /tmp 
  tar xfz STAF334-linux.tar.gz 
  cd staf 
  STAFInst -acceptlicense 

See the STAF Installation Guide at 
http://staf.sourceforge.net/current/STAFInstall.pdf for more information 

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313



Sangram Bakshi <san...@gmail.com> 
07/29/2009 03:41 PM 


To
staf-users@lists.sourceforge.net 
cc

Subject
[staf-users] which staf pkg to download for rhel3 vmware









Hi , 
  
I want to run staf in rhel3 vmware .which would be the appropriate 
pkg to download . 
  
Regards 
Sangram 
 
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  
http://p.sf.net/sfu/bobj-july_______________________________________________

staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to