I'm trying to build DBD::SQLite and am having issues. I'm using a (very) old version of DBI, but it doesnt seem to complain during the Makefile.PL or make process:
[devel@localhost]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...............Can't load '/home/devel/perl/DBD-SQLite-1.13/b
+lib/arch/auto/DBD/SQLite/SQLite.so' for module DBD::SQLite: /home/dev
+el/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so: undefine
+d symbol: dbd_st_finish at /usr/lib/perl5/5.8.0/i386-linux-thread-mul
+ti/DynaLoader.pm line 229.
at t/00basic.t line 4
Compilation failed in require at t/00basic.t line 4.
BEGIN failed--compilation aborted at t/00basic.t line 4.
# Failed test 1 in t/00basic.t at line 3
# t/00basic.t line 3 is: END { ok($loaded) }
t/00basic...............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/01logon...............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/01logon.t line 4
t/01logon...............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/02cr_table............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/02cr_table.t line 7
t/02cr_table............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/03insert..............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/03insert.t line 4
t/03insert..............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/04select..............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/04select.t line 4
t/04select..............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/05tran................install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/05tran.t line 5
t/05tran................dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/06error...............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/06error.t line 6
t/06error...............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/07busy................install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/07busy.t line 8
t/07busy................dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/08create_function.....install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/08create_function.t line 47
t/08create_function.....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/09create_aggregate....install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/09create_aggregate.t line 69
t/09create_aggregate....dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/10dsnlist.............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/11unicode.............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-14
Failed 10/14 tests, 28.57% okay
t/20createdrop..........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/30insertfetch.........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/40bindparam...........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-28
Failed 28/28 tests, 0.00% okay
t/40blobs...............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobtext............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/40blobtext.t line 8
t/40blobtext............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-26
Failed 26/26 tests, 0.00% okay
t/40listfields..........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40nulls...............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows.............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/40prepcached..........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/50chopblanks..........dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit..............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60metadata............install_driver(SQLite) failed: Can't load '/ho
+me/devel/perl/DBD-SQLite-1.13/blib/arch/auto/DBD/SQLite/SQLite.so' fo
+r module DBD::SQLite: /home/devel/perl/DBD-SQLite-1.13/blib/arch/auto
+/DBD/SQLite/SQLite.so: undefined symbol: dbd_st_finish at /usr/lib/pe
+rl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
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 expecte
+d
at t/60metadata.t line 4
t/60metadata............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-27
Failed 27/27 tests, 0.00% okay
t/90cppcomments.........ok
+
t/99cleanup.............# Failed test 1 in t/99cleanup.t at line 3
t/99cleanup.............NOK 1# t/99cleanup.t line 3 is: ok(-e 'foo');
+
t/99cleanup.............FAILED test 1
+
Failed 1/2 tests, 50.00% okay
t/ak-dbd................dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/dbdadmin..............dubious
+
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------
+---------
t/00basic.t 255 65280 1 1 100.00% 1
t/01logon.t 255 65280 5 5 100.00% 1-5
t/02cr_table.t 255 65280 4 4 100.00% 1-4
t/03insert.t 255 65280 10 10 100.00% 1-10
t/04select.t 255 65280 21 21 100.00% 1-21
t/05tran.t 255 65280 2 2 100.00% 1-2
t/06error.t 255 65280 2 2 100.00% 1-2
t/07busy.t 255 65280 8 8 100.00% 1-8
t/08create_function.t 255 65280 18 18 100.00% 1-18
t/09create_aggregate.t 255 65280 15 15 100.00% 1-15
t/10dsnlist.t 255 65280 3 3 100.00% 1-3
t/11unicode.t 255 65280 14 10 71.43% 5-14
t/20createdrop.t 255 65280 5 5 100.00% 1-5
t/30insertfetch.t 255 65280 18 18 100.00% 1-18
t/40bindparam.t 255 65280 28 28 100.00% 1-28
t/40blobs.t 255 65280 13 13 100.00% 1-13
t/40blobtext.t 255 65280 26 26 100.00% 1-26
t/40listfields.t 255 65280 13 13 100.00% 1-13
t/40nulls.t 255 65280 11 11 100.00% 1-11
t/40numrows.t 255 65280 22 22 100.00% 1-22
t/40prepcached.t 255 65280 14 14 100.00% 1-14
t/50chopblanks.t 255 65280 35 35 100.00% 1-35
t/50commit.t 255 65280 30 30 100.00% 1-30
t/60metadata.t 255 65280 27 27 100.00% 1-27
t/99cleanup.t 2 1 50.00% 1
t/ak-dbd.t 255 65280 49 49 100.00% 1-49
t/dbdadmin.t 255 65280 4 4 100.00% 1-4
Failed 27/28 test scripts, 3.57% okay. 395/446 subtests failed, 11.43%
+ okay.
make: *** [test_dynamic] Error 2
Could it be my old DBI version? If so, does anyone know what version would still work with 1.32 (upgrading DBI is not an option in this case), or otherwise how I could get it to work?