I had read the README.java before and read it as only applying to Solaris.
And so, being on HPUX, didn't try it. So, I tried it and it did not work
for me.
>uname -a
HP-UX zrtph036 B.11.00 U 9000/800 632329393 unlimited-user license
Other suggestions?
-----Original Message-----
From: Dave Tamillow [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 10:24 AM
To: Swensen, Jesse [PGC:4148:EXCH]
Subject: Re: Problem with new Oracle 8.1.6 install
Hi Jesse!
Read the README.java file in the DBD install that you have. It explains the
problem and the workarounds. I had the same problem yesterday, and I fixed
it using the LD_PRELOAD option. (Recompiling an Oracle lib was more than I
had time to tackle.) I first set "LD_PRELOAD=/usr/lib/libthread.so.1"
in my .profile, but I found that made some shell executables on my Solaris 8
workstation core dump. So I wrote a little wrapper (that I'll expand
later) to set the LD_PRELOAD and run my PERL script to access the database.
It's better than nothing for right now.
I hope that helps.
Dave Tamillow
Jesse Swensen wrote:
I am trying to get this thing to work. I believe the install is ok but I
get the following error when running a test script.
>perl test.pl
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/zrtph036_u01/home/oracle/dist/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.
sl
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load
'/opt/corp/local/perl-5.005/lib/site_perl/5.005/PA-RISC1.1/auto/DBD/Oracle/O
racle.sl' for module DBD::Oracle: Exec format error at
/opt/corp/local/perl-5.005/lib/5.00502/PA-RISC1.1/DynaLoader.pm line 168.
at (eval 1) line 2
at /d01/home/web/src/system/classes/DB.pm line 43
Anyone seen this error before? How do I fix it?
I have included the test.pl script as well as the DB.pm if they will help...
<<test.pl>> <<DB.pm>>
--
Jesse Swensen
Nortel Networks
ESN 455-0246
(919) 773-0246