Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Issue install DBD::ODBC

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1058297]
Approved by hdb
and a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-08-18 01:08 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (184 votes). Check out past polls.