Posting the output of 'perl Makefile.PL' and of the
make itself would help.
Did
you specify any options to 'perl Makefile.PL' ? You do realize you're building
against a (appearantly) multi-threaded perl right ?
Try this:
Add the following string just
before '-lqsmashr', which occurs 3 times in
the generated makefile:
-lm $ORACLE_HOME/rdbms/lib/homts.o -lclntsh -lagtsh
the generated makefile:
-lm $ORACLE_HOME/rdbms/lib/homts.o -lclntsh -lagtsh
Then
do a 'make test', if not much is remade you need to do a make clean, followed by
a 'perl Makefile.PL', edit the makefile and then 'make' it.
P.S. I *think* 'perl Makefile.PL -l' might do the
same but I'm not sure.
-----------------------------------
Frans
Postma, (050-58) 81 852
ATOS Origin, Unix Support
"If at first you don't succeed, skydiving isn't
for you"
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: zaterdag 22 februari 2003 13:11
Aan: [EMAIL PROTECTED]
Onderwerp: cannot install DBD module in a HP UX system
Urgentie: HoogHello 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 errorthanks and regardsPrajit Kumar MitraSchlumbergerSema
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
