Forum: Ruby on Rails Oracle oci8 => OCIError: OCI Library Initialization Error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9c473e546ce5c80e6f39d7e0502b5561?d=identicon&s=25 Rob Redmon (rredmon)
on 2009-04-14 21:25
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?
9c473e546ce5c80e6f39d7e0502b5561?d=identicon&s=25 Rob Redmon (rredmon)
on 2009-04-24 06:18
bump for ideas :)
This topic is locked and can not be replied to.