liblinear-ruby-swig
liblinear-ruby-swig copied to clipboard
32-bit architecture problem?
Hi,
I could get liblinear run very well on 64-bit Ubuntu 11.04, but I cannot get it to work on 32-bit Ubuntu 10.10 (Amazon EC-2 small). I got the following error:
./liblinear.so: ./liblinear.so: wrong ELF class: ELFCLASS64 - ./liblinear.so (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from ./linear.rb:1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
How can I get it to work on a 32-bit processor?
Thank you!
I don't have access to a 32bit machine, you can take a look at the Makefile at https://github.com/tomz/liblinear-ruby-swig/blob/master/ext/Makefile and search for '64'