[freetds] Registering the ODBC Driver With unixODBC

Jäger, Olaf ojaeger at psipenta.com
Wed Apr 25 15:31:18 EDT 2007


Hi,

That must be a typo in the tutorial. Instead of -t try -f (for template file ;-) This worked for me.

Cheers



-----Ursprüngliche Nachricht-----
Von: freetds-bounces at lists.ibiblio.org [mailto:freetds-bounces at lists.ibiblio.org] Im Auftrag von Robert Denton
Gesendet: Mittwoch, 25. April 2007 20:09
An: FreeTDS at lists.ibiblio.org; dbi-users at perl.org
Betreff: [freetds] Registering the ODBC Driver With unixODBC


Hi folks.

I am attempting to get freetds to work with unixODBC.  I found this  
tutorial:

http://www.unixodbc.org/doc/FreeTDS.html

It calls for creating a file called tds.driver.template with the  
following lines:

[FreeTDS]
Description     = v0.63 with protocol v8.0
Driver          = /usr/local/freetds/lib/libtdsodbc.so

However, I installed version .64-4 and the so is /usr/lib/ 
libtdsodbc.so.0 so I modified the tds.driver.template file accordingly.

Then, the tutorial has you run 'odbcinst -i -d -t /etc/ 
tds.driver.template

but then gives the error: odbcinst: Unknown option t

Is there a different way to associate the freetds driver with  
unixODBC?  There doesn't seem to be a man page for odbcinst.


Robert


_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org http://lists.ibiblio.org/mailman/listinfo/freetds


More information about the FreeTDS mailing list