http://www.perlmonks.org?node_id=1058297

bbaker@copesan.com has asked for the wisdom of the Perl Monks concerning the following question:

At a loss how to fix this issue

Perl : 5.014002 (x86_64-linux-gnu-thread-multi)

OS : linux (2.6.42-37-generic)

DBI : 1.628

DBD::mysql : 4.020

DBD::Sponge : 12.010003

DBD::SQLite : 1.40

DBD::Proxy : 0.2004

DBD::ODBC : DBD::ODBC initialisation failed: Can't locate object method "driver" via package "DBD::ODBC" at /usr/local/lib/perl/5.14.2/DBI.pm line 819.

Perhaps the capitalisation of DBD 'ODBC' isn't right. at -e line 1.

DBD::Multiplex : 2.11

DBD::Gofer : 0.015327

DBD::File : 0.42

DBD::ExampleP : 12.014311

DBD::DBM : 0.08

I have tried to reinstall the DBD::ODBC multiple time and I have also tried a force install. This was all done with cpan. I am running ubuntu 12.04.

What do I do next?

Thanks in advance.

Replies are listed 'Best First'.
Re: Issue install DBD::ODBC
by moritz (Cardinal) on Oct 15, 2013 at 13:58 UTC
Re: Issue install DBD::ODBC
by hdb (Monsignor) on Oct 15, 2013 at 13:44 UTC
Re: Issue install DBD::ODBC
by mje (Curate) on Oct 15, 2013 at 14:37 UTC

    The easiest thing is to install from ubuntu packages as moritz said. If you cannot do this first make sure you install unixodbc and unixodbc-dev packages then build it yourself but show us a) the output from perl Makefile.PL and b) the output from make.