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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Rob R. (Guest)
on 2009-04-14 23: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 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 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
  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
  from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `require'
  from (irb):1

Any clues?
Rob R. (Guest)
on 2009-04-24 08:18
bump for ideas :)
This topic is locked and can not be replied to.