I have installed DBI-1.18 and ORACLE-DBD-1.07 on several UNIX hosts running
ORACLE 8.0.6 with no problem.
I get errors on a host with ORACLE 8.0.5
The Perl -v output is 5.005_02 on both hosts
On the ORACLE 8.0.5 host I get the following errors when running make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00502/sys3k -I/usr/local/lib/perl5/5.00502 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/general...........install_driver(Oracle) failed: Can't load
'blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic
linker: /bin/perl: relocation error: symbol not found: llseek
resolving symbol in /home8/oracle/lib/libclntsh.so.1.0 at
/usr/local/lib/perl5/5.00502/sys3k/DynaLoader.pm line 168.
at (eval 1) line 2
Perhaps a required shared library or dll isn't installed where expected
at t/general.t line 20
dubious
Test returned status 2 (wstat 512, 0x200)
t/long..............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: dynamic linker: /bin/perl: relocation error: symbol not
found: llseek
resolving symbol in /home8/oracle/lib/libclntsh.so.1.0 at
/usr/local/lib/perl5/5.00502/sys3k/DynaLoader.pm line 168.
at t/long.t line 4
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
Test returned status 2 (wstat 512, 0x200)
t/plsql.............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: dynamic linker: /bin/perl: relocation error: symbol not
found: llseek
resolving symbol in /home8/oracle/lib/libclntsh.so.1.0 at
/usr/local/lib/perl5/5.00502/sys3k/DynaLoader.pm line 168.
at t/plsql.t line 17
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
Test returned status 2 (wstat 512, 0x200)
t/reauth............ORACLE_USERID_2 not defined.
Tests skiped.
1..0
skipping 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 2 512 ?? ?? % ??
t/long.t 2 512 ?? ?? % ??
t/plsql.t 2 512 ?? ?? % ??
1 test skipped.
Failed 4/5 test scripts, 20.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
make: fatal error
----------------------------------------------------------------------------
--------------------------------------
here is the output of perl Makefile.PL -s llseek
searching oracle lib/libcore4.a ...
[9] | 0| 0|NOTY |GLOB |0 |UNDEF |llseek
searching oracle lib/libcore4_kpic.a ...
[10] | 0| 0|NOTY |GLOB |0 |UNDEF |llseek
searching oracle lib/libdbicx.a ...
searching oracle lib/libepc.a ...
searching oracle lib/libgeneric.a ...
[76] | 0| 0|NOTY |GLOB |0 |UNDEF |llseek
searching oracle lib/libgeneric_kpic.a ...
[83] | 0| 0|NOTY |GLOB |0 |UNDEF |llseek
searching oracle lib/libicd.a ...
searching oracle lib/libkidt.a ...
searching oracle lib/libclntsh.so ...
[12200] | 0| 0|NOTY |GLOB |0 |UNDEF |llseek
searching oracle ctx/lib/drld.o ...
searching oracle ctx/lib/drt.o ...
searching /usr/ccs/lib/libc.so ...
Symbols from /usr/ccs/lib/libc.so[llseek.o]:
[1] | 0| 0|FILE |LOCL |0 |ABS |llseek.s
[6] | 0| 43|FUNC |WEAK |0 |1 |llseek
[7] | 0| 43|FUNC |GLOB |0 |1 |_llseek
searching /usr/ccs/lib/libdl.so ...
searching /usr/ccs/lib/libasyncio.a ...
searching /usr/ccs/lib/libbbarc.a ...
searching /usr/ccs/lib/libbbtrn.a ...
searching /usr/ccs/lib/libc.a ...
Symbols from /usr/ccs/lib/libc.a[llseek.o]:
[1] | 0| 0|FILE |LOCL |0 |ABS |llseek.s
[6] | 0| 43|FUNC |WEAK |0 |1 |llseek
[7] | 0| 43|FUNC |GLOB |0 |1 |_llseek
Using Oracle in /home8/oracle
8.0.5.0.0 ORACLE Common RDBMS Libraries and Utilities
8.0.5.0.0 ORACLE PL/SQL Libraries
8.0.5.0.0 ORACLE Common Precomp Libraries
8.0.5.0.0 PL/SQL
8.0.5.0.0 Oracle8 Server (RDBMS)
8.0.5.0.0 Precomp
8.0.5.0.0 Pro*C/C++
1.8.27.0.0 Pro*COBOL V1.8
8.0.5.0.0 Pro*COBOL
Found header files in rdbms/demo.
Searching for symbol 'llseek' in /home8/oracle ...
Searching for symbol 'llseek' in /usr/local/lib /usr/gnu/lib /shlib /lib
/usr/lib /usr/ccs/lib /usr/ucblib ...
Search done.
(Please only include the 'interesting' parts when mailing.)
----------------------------------------------------------------------------
----------------------------------
Can anyone tell why I get the unresolved reference?
Dennis Kowalski
Consulting Analyst
eCommerce Solutions
NCR Corp
VP 622-1843
Phone 937-445-1843
FAX 937-445-6695