Forum: Ruby Oracle on HP-UX: was Ruby on HP-UX

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.
Tim Nordloh (Guest)
on 2006-04-11 00:33
(Received via mailing list)
Assuming you are an Oracle user, here's what I had to do to get the
driver 'working'.

Obvious steps:
1.  Install dbd
2. 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 - .../ (LoadError)" -- from oci8.rb:7

Props to this guy, who had the solution:

I had to set this variable :
 export LD_PRELOAD=/usr/local/lib/ruby/site_ruby/1.8/hppa2.0w-hpux11.11

And the majority of the tests then passed.
This topic is locked and can not be replied to.