test DBD::Oracle 1.16rc7 on HP-UX 10.20 and Oracle 8.0.6.0 (server and client the same revision):

Unresolved symbol for OCILobIsTemporary and OCILobFreeTemporary. This symbols does not
exists in any shared or static library of Oracle 8.0.6 and also not in any object:

% find $ORACLE_HOME -name '*.[oa]' -o -name '*.sl' | \
 xargs nm -P | fgrep -e OCILobFreeTemporary -e OCILobIsTemporary
%

Maybe you must remove the Lob support for 8.0.x. For DBD::Oracle 1.15 I must already change Oracle.xs

        -#ifdef OCI_V8_SYNTAX
        +#if defined(OCI_V8_SYNTAX) && defined(OCIFileInit)
             OCILobWriteAppend_log_stat(imp_dbh->svchp, imp_dbh->errhp, locator,

because OCILobWriteAppend_log_stat does also not exists for Oracle 8.0.6.

regards, Silvio

+ perl Makefile.PL -l
Using DBI 1.42 (for perl 5.006001 on hppa1.1-hp-hpux10.20) installed in 
/opt/perl5/site/lib/5.6.1/hppa1.1-hp-hpux10.20/auto/DBI

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /opt/oracle/v806
Oracle version 8.0.6.0 (8.0)
Found direct-link candidates: libclntsh.sl
Oracle sysliblist: /usr/lib/libcl.a -lm /usr/lib/libcma.sl /usr/lib/libdld.sl -lc  
Found header files in rdbms/demo.
***
*** Warning: If you have trouble, see README.hpux...
    you may have to build your own perl, or go hunting for libraries
***

Checking for functioning wait.ph


System: perl5.006001 hp-ux slbwhg b.10.20 a 9000785 2002874623 two-user license 
Compiler:   cc -O +ESlit +Oentrysched +Ofastaccess +Olibcalls +Onolimit -Ae +DA1.1 
+DS2.0 -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker:     /usr/bin/ld
Sysliblist: /usr/lib/libcl.a -lm /usr/lib/libcma.sl /usr/lib/libdld.sl -lc  

Linking with -lextp -lclntsh.


Warning: If you have problems you may need to rebuild perl with threading enabled.

Warning: If you have problems you may need to rebuild perl with -Uusemymalloc.

Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '/usr/lib/libcl.a'
Unrecognized argument in LIBS ignored: '/usr/lib/libcma.sl'
Unrecognized argument in LIBS ignored: '/usr/lib/libdld.sl'
LD_RUN_PATH=/opt/oracle/v806/lib
Using DBD::Oracle 1.16.
Using DBI 1.42 (for perl 5.006001 on hppa1.1-hp-hpux10.20) installed in 
/opt/perl5/site/lib/5.6.1/hppa1.1-hp-hpux10.20/auto/DBI
Writing Makefile for DBD::Oracle

+ make -s test

t/01base............/usr/lib/dld.sl: Unresolved symbol: OCILobIsTemporary (code)
  from blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/lib/dld.sl: Unresolved symbol: OCILobFreeTemporary (code)
  from blib/arch/auto/DBD/Oracle/Oracle.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 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/01base.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/01base............ok 1/5
t/01base............ok 2/5
t/01base............ok 3/5
t/01base............FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/10general........./usr/lib/dld.sl: Unresolved symbol: OCILobIsTemporary (code)
  from blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/lib/dld.sl: Unresolved symbol: OCILobFreeTemporary (code)
  from blib/arch/auto/DBD/Oracle/Oracle.sl
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl'
 for module DBD::Oracle: Unresolved external at 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 blib/lib/Oraperl.pm line 58
Compilation failed in require at t/10general.t line 6.
BEGIN failed--compilation aborted at t/10general.t line 6.

t/10general.........dubious
        Test returned status 255 (wstat 65280, 0xff00)

[... and so on ...]

Failed Test            Status Wstat Total Fail  Failed  List of Failed
-----------------------------------------------------------------------------
t/01base.t                             5    2  40.00%  4-5
t/10general.t            255 65280    ??   ??       %  ??
t/15nls.t                255 65280     9    9 100.00%  1-9
t/20select.t             255 65280    ??   ??       %  ??
t/21nchar.t              255 65280    ??   ??       %  ??
t/22nchar_al32utf8.t     255 65280    ??   ??       %  ??
t/22nchar_utf8.t         255 65280    ??   ??       %  ??
t/23wide_db.t            255 65280    ??   ??       %  ??
t/23wide_db_8bit.t       255 65280    ??   ??       %  ??
t/23wide_db_al32utf8.t   255 65280    ??   ??       %  ??
t/24implicit_utf8.t      255 65280    ??   ??       %  ??
t/25plsql.t              255 65280    ??   ??       %  ??
t/30long.t               255 65280    ??   ??       %  ??
t/31lob.t                255 65280    ??   ??       %  ??
t/40ph_type.t            255 65280    ??   ??       %  ??
t/50cursor.t             255 65280    ??   ??       %  ??
t/70meta.t               255 65280    ??   ??       %  ??
1 test skipped.
Failed 17/18 test scripts, 5.56% okay. 11/14 subtests failed, 21.43% okay.

Reply via email to