[PLUG] perl DBI and DBD::ODBC install

Colin Kuskie ckuskie at dalsemi.com
Tue May 18 13:55:02 UTC 2004


On Tue, May 18, 2004 at 01:39:53PM -0700, Roderick A. Anderson wrote:
> Goggle'in has me running around in circles trying to get DBI with an ODBC
> data source working.  I'm stuck dealing with a database on a MS SQLServer
> and the script runs on a Linux box.
> 
> Anyone have good step-by-step instructions?
> 
>   FWIW, I have installed iODBC from an RPM but installing DBD::ODBC using
> CPAN fails as does using a plain old tarball.  It appears the RPM didn't
> supply all the directories or perl Makefile.PL -o /usr/lib (where the
> iodbc libs reside) doesn't recognize them as iodbc libraries.

I'm guessing that there's a -devel version of the RPM that you need
to install as well.  That's the one that usually trips me up.

Colin




More information about the PLUG mailing list