Try running the following:

. ./usr/local/staf/STAFEnv.sh  (note the "dot space dot" at the beginning 
is required).
STAFProc &

If it still fails, run the following and send the output:

echo $LD_LIBRARY_PATH
cat /usr/local/staf/install.properties
ls -al /usr/local/staf/lib/libSTAF.so

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




Justin Honeycutt <rabbidlemm...@gmail.com> 
06/02/2009 04:03 PM

To
David Bender/Austin/i...@ibmus
cc

Subject
Re: [staf-users] Ubuntu 8.10 and STAF






I ran ./etc/profile and ./usr/local/staf/STAFEnv.sh  

I didn't get any errors but after running both nothing seemed to happen.  
I don't know if that's what supposed to happen but when I run either 
commands it just goes back to prompt.  

Either way after running both of these (I tried one, then tried STAFProc, 
I tried the second, then tried STAFProc) I get the same error as before.

thank you for your help

Justin Honeycutt

On Tue, Jun 2, 2009 at 3:29 PM, David Bender <bda...@us.ibm.com> wrote:

Most likely you are running into the following problem that occurs on 
recent RHEL versions: 

http://staf.sourceforge.net/current/STAFFAQ.htm#d0e1524  "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"." 

Since you said STAF works on Ubuntu 8.04 but not on 8,10, this may be the 
same issue, where the LD_LIBRARY_PATH is being ignored in the later Ubuntu 
version.  Can you try the workarounds described in the FAQ entry, and let 
us know if that resolves the problem?  If so we'll update the FAQ to 
indicate that it applies to Ubuntu 8.10 as well as RHEL. 

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



Justin Honeycutt <rabbidlemm...@gmail.com> 
06/02/2009 03:12 PM 


To
staf-users@lists.sourceforge.net 
cc

Subject
[staf-users] Ubuntu 8.10 and STAF








I am trying to install and run STAF on two different computers running 
Ubuntu 8.10 (64Bit and 32Bit).  On either computer after installing STAF 
and updating the relevant files I attempt to start the STAF by running 
/usr/local/staf/bin/STAFProc either as root or as the user.  Both 
computers return with the error:

"/usr/local/staf/bin/STAFProc: error while loading shared libraries: 
libSTAF.so: cannot open shared object file: No such file or directory"

So I'm either missing a file or have some sort of odd permission issues, 
which wouldn't account for the error in root.  I have installed STAF and 
gotten it successfully to run on 4 other machines running Ubuntu 8.04 
(32Bit and 64Bit) and Fedora 9 (32 and 64bit) and all I did was install 
STAF, update the files with the information to set the trust level on all 
machines and users, and set the username, pass and default shell and STAF 
ran successfully.

If more information is needed please let me know I will provide whatever I 
can.  I'm a semi newb to Linux so if you have anything I need to do I 
might have to ask for clarifcation.  If anyone could help I would be very 
grateful.

Rabbidlemming
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: 
http://p.sf.net/sfu/opensolaris-get_______________________________________________

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


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to