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

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.
02930eef5ac37e535715a8ddee5b475f?d=identicon&s=25 Tim Nordloh (Guest)
on 2006-04-10 22:33
(Received via mailing list)
Assuming you are an Oracle user, here's what I had to do to get the
Oracle
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 - .../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.
This topic is locked and can not be replied to.