Problem with openssl library

M

Mv200i Mv200i

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
 
Y

Yutaka Kanemoto

Hi,
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.
If possible, could you please let me know where did you download rpms from?
If I can download them, I can investigate it in my test env.

It seems openssl libraries are compiled as 64 bit module. (since
installed under ../lib64.)
Is ruby binary compiled as 64 bit executable?

You can check it by file command:
$ file `where ruby`
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top