I'm trying to get ActiveRecord working with an Oracle DB over the
instant client.

On a 32bit machine, I can require 'oci8':
Linux xxx.xxx.xxx.xxx 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:52:17 EST
2009 i686 i686 i386 GNU/Linux
irb(main):001:0> require 'oci8'
=> true

However, on a 64bit machine:
Linux xxx.xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux

I have this problem:
irb(main):001:0> require 'oci8'
OCIError: OCI Library Initialization Error
  from env.c:90:in oci8lib.so
  from /home/iono/lib/ruby/rubygems/custom_require.rb:31:in `require'
  from /home/iono/packages/gems/gems/ruby-oci8-2.0.1/lib/oci8.rb:25
  from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in
`gem_original_require'
  from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `require'
  from (irb):1


Any clues?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to