Hay there,
I'm facing the well known problem of:
undefined symbol: SQLTables. (error message see on bottom)
Did I get that right:
When building the module make compiles a native DB2.so library.
That one has a reference to SQLTables that should be in DBD is calling
a method on the Database .so libraries?
Would it mean that:
a) My DB2 instance does not provide this function in its own libdb.so.3
or
b) that there is an implementation problem on the DBD::DB2 module?
or
c) something else?
I was checking the references with ldd. Libraries are there. DB2_HOME
is set and the dbconnection works fine if I use sql commandline.
So I'm a bit confused what to do now. Any suggestions?
thanxs in advance
roman
Environment:
- Linux/390 (Suse Enterprise Distribution: 2.4.19-3suse-SMP) 64bit
- DB2 UDB for L/390 Version 7.2 fixpack 8
- Perl 5.8 (perl-5.8.0-33) RPM distribution from Suse
- Perl-Modules: DBI-1.39, DBD-DB2-0.76
Error Message:
$ make test
make[1]: Entering directory
`/usr/src/packages/SOURCES/DBD-DB2-0.76/Constants'
make[1]: Leaving directory
`/usr/src/packages/SOURCES/DBD-DB2-0.76/Constants'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....install_driver(DB2) failed: Can't load
'/usr/src/packages/SOURCES/DBD-DB2-0.76/blib/arch/auto/DBD/DB2/DB2.so' for
module DBD::DB2:
/usr/src/packages/SOURCES/DBD-DB2-0.76/blib/arch/auto/DBD/DB2/DB2.so:
undefined symbol: SQLTables at
/usr/lib/perl5/5.8.0/s390x-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 expected
at t/base.t line 16
t/base....dubious
Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests
4-5
Failed 2/5 tests, 60.00% okay
t/main....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/base.t 255 65280 5 2 40.00% 4-5
Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 29
Output of LDD:
$ ldd /usr/src/packages/SOURCES/DBD-DB2-0.76/blib/arch/auto/DBD/DB2/DB2.so
libdb.so.3 => /lib64/libdb.so.3 (0x000001000001f000)
libc.so.6 => /lib64/libc.so.6 (0x000001000006b000)
/lib/ld64.so.1 => /lib/ld64.so.1 (0x0000015555555000)
This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender