Oracle oci8 => OCIError: OCI Library Initialization Error

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:ingem_original_require’
from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `require’
from (irb):1

Any clues?

bump for ideas :slight_smile: