Easysoft ODBC-ODBC BridgeWhy do I get undefined symbols when running the Perl DBD::ODBC test? |
|
An example might look like this:
Can't load 'blib/arch/auto/DBD/ODBC/ODBC.so' for module DBD::ODBC:
blib/arch/auto/DBD/ODBC/ODBC.so: undefined symbol: SQLDataSources
at /usr/lib/perl5/5.00502/i686-linux/DynaLoader.pm line 168.
The problem depends on what symbol is undefined. If the symbol is SQLDataSources or SQLDrivers then the likelihood is that you are attempting to build a version of OOB prior to 0.4.0.0 with DBD::ODBC 0.21. Versions of the OOB prior to 0.4.0.0 are not compatible with linking directly to DBD::ODBC 0.21. To use these older versions of OOB with Perl DBD::ODBC 0.21 you must either:
[1] install a driver manager under Perl DBD::ODBC and then tell the driver manager about OOB.
[2] download a newer version of OOB (0.4.0.0 or newer).