on 06-16-2009 9:37 PM
Hello,
I am having difficulties getting sap4rails setup. I use a 64 bit Ubuntu linux system.
Downloaded
NWRFC_2-20004549_linux.SAR
SAPCAR_1-20002089linux
and extracted the SAR file.
Built and Installed required gems.
gem list
*** LOCAL GEMS ***
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2)
httpclient (2.1.5)
rails (2.3.2)
rake (0.8.7)
sap4rails (0.15)
sapnwrfc (0.21)
saprfc (0.37)
sapwas (0.12)
soap4r (1.5.8)
sqlite3-ruby (1.2.4)
open sap4rails example project
cd sap4rails-0.15/examples/UserAdmin.SAPNW
try to load sap4rails
ruby -rrubygems -e 'require "sap4rails"'
E, [2009-06-16 12:11:19#5236] ERROR -- : Could not load nwsaprfc. Make sure nwrfcsdk libraries are properly installed: libsapucum.so: cannot open shared object file: No such file or directory - /usr/local/lib/site_ruby/1.8/x86_64-linux/nwsaprfc.so
but the file is there....
ls -la /usr/local/lib/site_ruby/1.8/x86_64-linux/nwsaprfc.so
-r-xr-xr-x 1 root staff 128247 2009-06-15 22:03 /usr/local/lib/site_ruby/1.8/x86_64-linux/nwsaprfc.so
Any Ideas please!. thanks
I found the problem!
I missed the part where I had to
export LD_LIBRARY_PATH=<path_to_nwrfcsdk>/lib/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.