Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
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 (Prior) 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.

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: (5)
As of 2015-08-01 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls