libdbd-odbc-perl error "install_driver(ODBC) failed: Unable to get DBI state from DBI"

gregor herrmann gregoa at debian.org
Tue Jan 14 08:43:29 UTC 2014


On Mon, 13 Jan 2014 19:01:19 +0000, Wolfgang Pauer wrote:

> I'm trying to connect to an ODBC data source using perl on Debian 7.3 (system is on recent updates).
> This fails with the following error:
> install_driver(ODBC) failed: Unable to get DBI state from DBI::_dbistate at 10104b30. DBI not loaded. at /usr/lib/perl/5.14/DynaLoader.pm line 207.
> Compilation failed in require at (eval 26) line 3.
> 
> at ./dbcheck.pl line 15

"DBI not loaded" sounds interesting.
Not sure which "line 3" the error refers to; maybe the "use DBI;" in
your script?
So this sounds like a DBI problem; on the other hand, the message is
about "install_driver(ODBC)" ... Hm.

Does your script work if you uninstall libdbd-odbc-perl?
 
> I'm just calling a simple script that's checking the installed data sources:

FWIW, the script works for me on amd64, with and without
libdbd-odbc-perl installed, and with the same versions of the
packages you are using.

Let's hope someone else has more ideas ...


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #129:  The ring needs another token 



More information about the pkg-perl-maintainers mailing list