Operating System - HP-UX
1830214 Members
1326 Online
109999 Solutions
New Discussion

Re: Perl DBD:Oracle install crashes

 
Ratzie
Super Advisor

Perl DBD:Oracle install crashes

This is in regards to my previous long winded question regarding installing DBD::Oracle
Well, I started from scratch and just untarred the binaries.
I am running HP 11.00 B.11.00 U 9000/785
Installed both 64 bit gcc and Perl with DBI
Corrected the correct $PATH:
/opt/perl64/bin/perl:/usr/local/pa20_64/bin/gcc

Here is where my issues arrises...
When I start the install of the DBD:Oracle

LD_RUN_PATH=/opt/app/oracle/product/8.1.7/lib:/opt/app/oracle/product/8.1.7/rdbms/lib
Using DBD::Oracle 1.19.
Using DBD::Oracle 1.19.
Using DBI 1.46 (for perl 5.008006 on PA-RISC2.0-LP64) installed in /opt/perl64/lib/site_perl/5.8.6/PA-RISC2.0-LP64/auto/DBI/
Writing Makefile for DBD::Oracle


Then it poops out:

ld: Can't find library or mismatched ABI for -lclntsh
Fatal error.
*** Error exit code 1

Would this be because the oracle installed is 32 bit?
Or changing the LD_LIBRARY_PATH will fix this...

How would I do this?
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: Perl DBD:Oracle install crashes

That is Oracle 8.1.7, which is IIRC almost certainly a 32bit port. I don't know if there is a 64bit Oracle 8.

If it indeed is a 32bit port, you need a 32bit perl to match it.
I would consider Oracle 8/64bit experimental and go for Oracle 9 or 10. (In fact I would not go for Oracle at all, but probably that is not an option).

If Oracle 8 /does/ support 64bit, find the 64bit libraries somewhere down $ORACLE_HOME, and put that location in your $SHLIB_PATH, then start from scratch with DBD::Oracle.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn