Skip to Content.
Sympa Menu

freetds - Re: Error building perl-DBD-ODBC with FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Error building perl-DBD-ODBC with FreeTDS
  • Date: Mon, 15 Apr 2002 13:45:43 -0400


What driver manager do you have installed? unixODBC or iODBC?
If it came with the system then you can do

rpm -qf /usr/local/lib/libodbc.so

to see which package owns it. You'll probably get a better answer asking
this question in the DBI list since it is more about DBD::ODBC rather than
FreeTDS.

Brian

> I'm trying to build perl-DBD-ODBC-0.40 with freetds 0.53 on my RedHat
> linux 7.2 system with perl 5.6.1. I have perl-DBI-1.21 installed. I've
> compiled nad installed freetds in /usr/local/freetds. And I'm now
> following the instructions on the freetds page to build DBD-ODBC. But I
> get the following error:
>
> [arb@mobile DBD-ODBC-0.40]$ perl Makefile.PL
>
> Configuring DBD::ODBC ...
>
> >>> Remember to actually *READ* the README file!
> And re-read it if you have any problems.
>
> Using DBI 1.21 installed in
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
> Using ODBC in /usr/local
>
> Umm, this looks like a udbc type of driver manager.
>
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -ludbc
> Using DBI 1.21 installed in
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
> Writing Makefile for DBD::ODBC
>
> The DBD::ODBC tests will use these values for the database connection:
> DBI_DSN=dbi:ODBC:JDBC e.g. dbi:ODBC:demo
> DBI_USER=guest
> DBI_PASS=sybase
>
> [arb@mobile DBD-ODBC-0.40]$ make
[snip]
> What is "udbc" and why is my build failing? I'd appreciate any help.
>
> Anand




Archive powered by MHonArc 2.6.24.

Top of Page