Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Issue install DBD::ODBC

by bbaker@copesan.com (Initiate)
on Oct 15, 2013 at 13:40 UTC ( #1058297=perlquestion: print w/ replies, xml ) Need Help??
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.

Comment on Issue install DBD::ODBC
Re: Issue install DBD::ODBC
by hdb (Parson) on Oct 15, 2013 at 13:44 UTC
Re: Issue install DBD::ODBC
by moritz (Cardinal) on Oct 15, 2013 at 13:58 UTC
Re: Issue install DBD::ODBC
by mje (Deacon) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1058297]
Approved by hdb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-07-25 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (169 votes), past polls