[freetds] Hmm...I cannot find an ODBC driver manager that Irecognize.

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Feb 6 03:02:17 EST 2006


> 
> Little snafu, installing freetds and then DBD::ODBC against freetds
> 
> wget 
> ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-s
> table.tgz
> cd freetds-0.63/
> ./configure --prefix=/opt/freetds
> make
> make install
> 
> wget 
> http://search.cpan.org/CPAN/authors/id/J/JU/JURL/DBD-ODBC-1.13.tar.gz
> tar xzf DBD-ODBC-1.13.tar.gz
> cd DBD-ODBC-1.13
> 
> # just want to get it built before I fiddle with freetds's MSSQL DSNs
> export SYBASE=/opt/freetds
> export ODBCHOME=/opt/
> export DBI_DSN=dbi:ODBC:JDBC
> export DBI_USER=guest
> export DBI_PASS=sybase
> 
> 
> root [~/DBD-ODBC-1.13]# perl Makefile.PL
> Useless use of private variable in void context at 
> Makefile.PL line 431.
> 
> Configuring DBD::ODBC ...
> 
>  >>>     Remember to actually *READ* the README file!
>          And re-read it if you have any problems.
> 
> Using DBI 1.50 (for perl 5.008007 on i686-linux) installed in 
> /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/
> Using ODBC in /opt/
> 
> Hmm...I cannot find an ODBC driver manager that I recognize.
> ...And I know about these drivers:
>          Microsoft ODBC, adabas, easysoft, empress, esodbc, informix,
>          intersolve, iodbc, sapdb, solid, udbc, unixodbc
> root [~/DBD-ODBC-1.13]#
> 
> Do I need to use DBD::OBDC-0.28 as per Example 6-4 at
> http://freetds.org/userguide/perl.htm#PERLMODULES
> 
> I do have unixodbc installed and I saw a thread that seemed 
> to indicate 
> DBD::ODBC + freetds + unixodbc could be used together, is that what i 
> need  to do? That is, build DBD::ODBC against unixodbc instead of 
> freetds and use freetds's goods to connect() to MS SQL?
> 
> TIA!

Hi,
  usually this is due to lack of devel package. 

freddy77



More information about the FreeTDS mailing list