V
Vetrivel Vetrivel
Problem in oci8.2.0.1.gem
I installed oci8 using gem1.8 command .
Then i required that file using oci8.But I got the error .
require 'oci8'
LoadError:
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so:
invalid ELF header -
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so
from
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/lib/oci8.rb:20
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):3
I installed oci8 using gem1.8 command .
Then i required that file using oci8.But I got the error .
require 'oci8'
LoadError:
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so:
invalid ELF header -
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so
from
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/ext/oci8/oci8lib.so
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from
/usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.7-x86-mswin32-60/lib/oci8.rb:20
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):3