I was wondering if someone may be able to assist with a problem in getting the ruby extensions installed. I have installed the C dependency fine, and am able to run the sample tests. Echoing the XML i can see the results in the log. I installed the C dependency from an RPM on CentOS 5, and set up the environment as such:
# echo $WSFC_HOME
/opt/wso2/wsf_c
# echo $LD_LIBRARY_PATH
/usr/local/lib:/opt/wso2/wsf_c/lib
I added the options to /usr/lib64/ruby/1.8/x86_64-linux/rbconfig.rb as instructed.
The axis2_http_server starts fine, the rails app that i generated from the samples works fine (Mongrel successfully starts) However, when i run the "ruby echo_client.rb" command i get the following error:
# ruby echo_client.rb
ruby: symbol lookup error: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/wsservice.so: undefined symbol: axutil_error_create
I have also tried adding the lib path to /etc/ld.so.conf.d, in a file which referrences all of the above pathways. (for /opt/wso2/wsf_c/lib and /usr/lib64/ruby/site_ruby/1.8/x86_64-linux) But recieve the same error.
When building the ruby extension, it seems to not be finding what it needs:
root@rubydev /mgr/jason_ruby_tools/src/wso2-wsf-ruby-src-1.0.0
# sh build.sh
checking for main() in -laxis2_axiom... no
checking for main() in -laxutil... no
checking for main() in -laxis2_parser... no
checking for main() in -laxis2_engine... no
checking for main() in -laxis2_http_common... no
checking for main() in -laxis2_http_sender... no
checking for main() in -laxis2_http_receiver... no
checking for main() in -lomxmlsec... no
checking for main() in -loxstokens... no
checking for main() in -lsaml... no
checking for main() in -lomopenssl... no
checking for main() in -lneethi... no
checking for main() in -lneethi_util... no
checking for main() in -lmod_rampart... no
creating Makefile
make: Nothing to be done for `all'.
make: Nothing to be done for `install'.
checking for main() in -laxis2_axiom... no
checking for main() in -laxutil... no
checking for main() in -laxis2_minizip... no
checking for main() in -laxis2_parser... no
checking for main() in -laxis2_engine... no
checking for main() in -laxis2_http_common... no
checking for main() in -laxis2_http_sender... no
checking for main() in -laxis2_http_receiver... no
checking for main() in -laxis2_engine... no
checking for main() in -lneethi... no
checking for main() in -lneethi_util... no
checking for main() in -lmod_rampart... no
creating Makefile
make: Nothing to be done for `all'.
make: Nothing to be done for `install'.
root@rubydev /mgr/jason_ruby_tools/src/wso2-wsf-ruby-src-1.0.0
Thoughts anyone?