Hello.
I'm trying to compile DBD-Oracle 1.12 in HP-UX 11.00. I'm doing two things
differently of the instructions given on README.hpux:
* I'm not using Oracle 8.1.6 libraries, but the libraries of Oracle
Application Server 4.0 instead;
* I'm using gcc-3.0.1 instead of SoftBench C compiler (which is not
available here).
I'm using the libraries above because the machine which needs DBD-Oracle is
an Oracle Application Server that talks with an Oracle Database Server, and
my DBA has said that the Pro*C kit of OAS was already installed.
Compilation runs smoothly (except that I need to delete the -Wl,+n and
-WI,+s statements of the linker), but here's what I get when I issue a "make
test":
[operator@ford0001:~/DBD-Oracle-1.12]$ gmake test
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.
6.1/PA-RISC1.1 -I/opt/perl5/lib/5.6.1 -e 'use Test::Harness qw(&runtests
$verbos
e); $verbose=0; runtests @ARGV;' t/*.t
t/base............../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)
fro
m /mnt1/home/oracle/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code) from
/mnt1/home/oracle/
lib//libwtc8.sl
t/base..............FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/general.........../usr/lib/dld.sl: Unresolved symbol: LhtStrCreate (code)
fro
m /mnt1/home/oracle/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code) from
/mnt1/home/oracle/
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/perl5/lib/5.6.1/PA-RISC1.1/D
ynaLoader.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)
fro
m /mnt1/home/oracle/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code) from
/mnt1/home/oracle/
lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Unresol
ved external at /opt/perl5/lib/5.6.1/PA-RISC1.1/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)
fro
m /mnt1/home/oracle/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code) from
/mnt1/home/oracle/
lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Unresol
ved external at /opt/perl5/lib/5.6.1/PA-RISC1.1/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)
fro
m /mnt1/home/oracle/lib//libwtc8.sl
/usr/lib/dld.sl: Unresolved symbol: LhtStrInsert (code) from
/mnt1/home/oracle/
lib//libwtc8.sl
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Unresol
ved external at /opt/perl5/lib/5.6.1/PA-RISC1.1/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.
gmake: *** [test_dynamic] Error 2
[operator@ford0001:~/DBD-Oracle-1.12]$
I've already use the "find_symbol" script to hunt for libraries - no result.
The script says me that the unresolved symbols could be found exactly in
libwtc8.sl. Linking against libqsmashr does not change the situation.
Anyway, libqsmashr.sl is not available in OAS4.0, and I've had to get it in
Oracle RDBMS directories - a very dirty hack.
What can I do? If it's the case, how to link it statically? Does it require
perl recompilation?
TIA,
Paulo Afonso Graner Fessel
Suporte de Sistemas
OptiGlobe Communications
R.Bento Branco de Andrade Filho, 621
S�o Paulo, SP, 04757-000
Brasil
http://www.optiglobe.com.br
Tel.:+55 11 3365-4478
Fax:+55 11 3365-4445
Cel.:+55 11 9198-9985
E-mail: [EMAIL PROTECTED]