R
Reji Kumar
Hi,
I am compiling Ruby on IBM AIX 5.3.0.0. Version of Ruby is 1.8.6. I
am compiling ruby in 32 bit mode (OBJECT_MODE=32). Commands I used are
configure --with-gcc --prefix=$INSTALLPATH
gmake && gmake install
Configure and make are going fine.
ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-aix5.3.0.0]
But when I try to load libraries, it is throwing error
ruby -d -e 'require "thread.so"'
Exception `LoadError' at
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:0
-
load failed - /disk1/home/local/RUBY//lib/ruby/1.8
/powerpc-aix5.3.0.0/thread.so
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:
load failed - /disk1/home/local/RUBY//lib/ruby/1.8
/powerpc-aix5.3.0.0/thread.so (LoadError) from -e:1
irb also is throwing same error.
both ruby & the library are 32 bit
file /disk1/home/local/RUBY//bin/ruby
/disk1/home/local/RUBY//bin/ruby: executable (RISC System/6000) or
object module not stripped
file /disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:
executable (RISC System/6000) or object module not stripped
Is there anything else that can go wrong?
Is it possible to get some more information on why the load has failed?
ie to make ruby give more detailed error message, than a plain
"LoadError" exception.
Any help is appreciated. Thanks in advance.
I am compiling Ruby on IBM AIX 5.3.0.0. Version of Ruby is 1.8.6. I
am compiling ruby in 32 bit mode (OBJECT_MODE=32). Commands I used are
configure --with-gcc --prefix=$INSTALLPATH
gmake && gmake install
Configure and make are going fine.
ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-aix5.3.0.0]
But when I try to load libraries, it is throwing error
ruby -d -e 'require "thread.so"'
Exception `LoadError' at
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:0
-
load failed - /disk1/home/local/RUBY//lib/ruby/1.8
/powerpc-aix5.3.0.0/thread.so
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:
load failed - /disk1/home/local/RUBY//lib/ruby/1.8
/powerpc-aix5.3.0.0/thread.so (LoadError) from -e:1
irb also is throwing same error.
both ruby & the library are 32 bit
file /disk1/home/local/RUBY//bin/ruby
/disk1/home/local/RUBY//bin/ruby: executable (RISC System/6000) or
object module not stripped
file /disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so
/disk1/home/local/RUBY//lib/ruby/1.8/powerpc-aix5.3.0.0/thread.so:
executable (RISC System/6000) or object module not stripped
Is there anything else that can go wrong?
Is it possible to get some more information on why the load has failed?
ie to make ruby give more detailed error message, than a plain
"LoadError" exception.
Any help is appreciated. Thanks in advance.