Gentlemen,,

Trying to set up ruby on AIX 5.3 in order to run Puppet. Fortunatley I
got hold of all rpm's. All rpm's did install correctly: ruby-1.8.6-8,
puppet-0.24.4-22, facter-1.3.8-4, openssl-0.9.8o-1 and
openssl-devel-0.9.8o-1.

When I run the "ssl test" I get an error:

$ ruby -ropenssl -e "puts :yep"
/usr/local/lib/ruby/1.8/powerpc-aix5.3.0.0/openssl.so: load failed -
/usr/local/lib/ruby/1.8/powerpc-aix5.3.0.0/openssl.so (LoadError)
        from /usr/local/lib/ruby/1.8/openssl.rb:17


Running openssl.so I get:

$ /usr/local/lib/ruby/1.8/powerpc-aix5.3.0.0/openssl.so
exec(): 0509-036 Cannot load program
/usr/local/lib/ruby/1.8/powerpc-aix5.3.0.0/openssl.so because of the
following errors:
        0509-150   Dependent module libssl.a(libssl.so.0.9.8) could not
be loaded.
        0509-022 Cannot load module libssl.a(libssl.so.0.9.8).
        0509-026 System error: A file or directory in the path name does
not exist.
$



The file libssl.a(libssl.so.0.9.8) exist under /opt/freeware/lib64


I have tried setting the LD_LIBRARY_PATH --> export
LD_LIBRARY_PATH=/opt/freeware/lib64:$LD_LIBRARY_PATH
without success

I also tried setting the LD_LIBRARY_PATH in:
/usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb
without success..

Help, anyone?

/mv200i

-- 
Posted via http://www.ruby-forum.com/.