Assuming you are an Oracle user, here’s what I had to do to get the
Oracle
driver ‘working’.
Obvious steps:
- Install dbd
- install Oracle DBI
unobvious step,
When I ran the test cases, I got this error:
Can’t dlopen() a library containing Thread Local Storage:
/usr/lib/libpthread.1 - …/oci8lib.sl (LoadError)" – from oci8.rb:7
Props to this guy, who had the solution:
http://www.alfonsomartone.itb.it/xvpucf.html
I had to set this variable :
export LD_PRELOAD=/usr/local/lib/ruby/site_ruby/1.8/hppa2.0w-hpux11.11
/oci8lib.sl
And the majority of the tests then passed.