This forum is no longer active. Please post your questions to our new community site

ruby 1.9.2-p0 or 1.9.2-p136 installation

Subscribe to ruby 1.9.2-p0 or 1.9.2-p136 installation 2 post(s), 2 voice(s)

 
Avatar ravish 1 post

I am trying to install ruby 1.9.2-p0 or 1.9.2-p136 in different linux flavours..

i.e on rhe4-x86_64, rhe5-x86_64, rhe3-x86_64

If try to run from bin folder as ./ruby -v i am getting following error

../ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory

I sent this issue in on of the ruby users forum, he was telling that set the LD_LIBRARY_PATH.. so i gave the path as

LD_LIBRARY_PATH = TOOL_ROOT/ruby/ruby/1.9.1/rhe4-x86_64/lib or TOOL_ROOT/ruby/ruby/1.9.1/rhe5-x86_64/lib

and above path is having following files..

libruby-static.a
libruby.so
libruby.so.1.9
libruby.so.1.9.1
ruby(folder)

Please, let me know where i am doing the wrong thing..from past one week I am trying to do this one..

Thanks
Ravish

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Are you running the BitNami RubyStack? could you try to run “ldd ruby”? Maybe you are running a 32 bits ruby binary and these liberaries are for ruby 64 bits.