Error building perl-DBD-ODBC with FreeTDS

Brian Bruns camber at ais.org
Mon Apr 15 14:45:43 EDT 2002


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 at 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 at mobile DBD-ODBC-0.40]$ make
[snip]
> What is "udbc" and why is my build failing? I'd appreciate any help.
> 
> Anand



More information about the FreeTDS mailing list