You have not provided a lot of information but this could be as simple as not have SHLIB_PATH defined to include you $ORACLE_HOME/lib.

 

I have attached the makefile I use here, which will be included in the next README.hpux in the next release of DBD-Oracle I believe

 

I would note however, that I have only built this on PARISC2.0 (64 bit) systems is yours is a PARISC1.1 system. Has anyone built this on PA-RISC1.1 systems?

 

You do not indicate which version of oracle you are building against.  Version 8.1.7 is easier than 8.1.6 and earlier.  Even if you do not want to upgrade your databases right away, consider building DBD-Oracle again 8.1.7.

 

Hope this helps,

 

Lincoln

 

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 22, 2003 7:11 AM
To: [EMAIL PROTECTED]
Subject: cannot install DBD module in a HP UX system
Importance: High

 

Hello Tim Bunce,

 

I cannot install the DBD module in my HP UX 11.00 box, as I can't understand the instuctions in the README.hpux file, no idea what do when I got stuck up with the following error

 

*****************************************************************************************************************************************************

  PERL_DL_NONLAZY=1 /opt/perl/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base............../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Unresolved external at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/base.t line 19
The remaining tests will probably also fail with the same error.

 

*** Please read the README and README.help files for help. ***

 

t/base..............FAILED tests 4-5                                        
        Failed 2/5 tests, 60.00% okay
t/general.........../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Unresolved external at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/general.t line 20
t/general...........dubious                                                 
        Test returned status 255 (wstat 65280, 0xff00)
t/long............../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Unresolved external at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
 at t/long.t line 4
Compilation failed in require at t/long.t line 4.
BEGIN failed--compilation aborted at t/long.t line 4.
t/long..............dubious                                                 
        Test returned status 255 (wstat 65280, 0xff00)
t/ph_type.........../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Unresolved external at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
 at t/ph_type.t line 20
Compilation failed in require at t/ph_type.t line 20.
BEGIN failed--compilation aborted at t/ph_type.t line 20.
t/ph_type...........dubious                                                 
        Test returned status 255 (wstat 65280, 0xff00)
t/plsql............./usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code)  from /u01/oracle/product/8.1.6/lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Unresolved external at /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/DynaLoader.pm line 206.
 at t/plsql.t line 17
Compilation failed in require at t/plsql.t line 17.
BEGIN failed--compilation aborted at t/plsql.t line 17.
t/plsql.............dubious                                                 
        Test returned status 255 (wstat 65280, 0xff00)
t/reauth............skipped test on this platform
Failed Test Status Wstat Total Fail  Failed  List of Failed
---------------------------------------------------------------------------------------------------------------
t/base.t                       5    2  40.00%  4-5
t/general.t      255 65280    ??   ??       %  ??
t/long.t         255 65280    ??   ??       %  ??
t/ph_type.t      255 65280    ??   ??       %  ??
t/plsql.t        255 65280    ??   ??       %  ??
1 test skipped.
Failed 5/6 test scripts, 16.67% okay. 2/5 subtests failed, 60.00% okay.
*** Error exit code 2

**************************************************************************************************************************************************

 

As well can't understand the instructions

 

**************************************************************************************************************************************************

At this point dld.sl may be reporting undefined symbol errors.

 

In my case, LhtStrInsert was undefined.  To solve this problem, I had
to looked though the Oracle libraries using nm.  I found the symbol
in 3 separate libraries in $ORACLE_HOME/lib.  I then proceeded to as these
libraries to the OTHERLDFLAGS makefile macro until I got a clean linke.
libqsmashr.sl was what did the trick for me.

**************************************************************************************************************************************************

 

Will be of great help if you can please provide me some assistance to get rid of this error

 

 

thanks and regards

 

Prajit Kumar Mitra

 

SchlumbergerSema
Sema Software India Pvt. Ltd.
Plot No. 53, block DN, Sector - V
Salt Lake, Calcutta - 700 091, India
Phone : +91333674346 (Ext. : 290) 
Mobile : +919831097526
Fax : +91333674353
Web : www.schlumbergersema.com

 

Attachment: makefile
Description: Binary data

Reply via email to