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

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs