Skip to Content.
Sympa Menu

freetds - Re: [freetds] ODBCConfig for FreeTDS: User DSN problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: Igor Korot <ikorot AT earthlink.net>, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [freetds] ODBCConfig for FreeTDS: User DSN problem
  • Date: Fri, 27 May 2005 19:36:18 +0200

> Does anybody know what is going on?
> Is this a true reason for that kind of error?
>
> Thank you in advance.
>
> -----Original Message-----
> From: Igor Korot <ikorot AT earthlink.net>
> Sent: May 25, 2005 3:14 AM
> To: freetds AT lists.ibiblio.org.
> Subject: Re: [freetds] ODBCConfig for FreeTDS: User DSN problem
>
> Thank you for the reply, but...
> When I go to the "User DSN" tab and click "Add..." button, there is another
> dialog shows up - "Select a Driver". I select the TDS driver, and click
> "OK". After that I got the "Could not construct a property list for
> ([Driver])"?
>
> Could you tell me what is going on, please?
>
> Thank you.
>
> >>
> >> Hi, ALL,
> >> I installed the FreeTDS on my Gentoo Linux machine on top of unixODBC.
> >> Now, I am able to put the driver in the ODBCConfig utility,
> >> but when I try to create "User DSN" it gives me an error.
> >> My guess is that it's because I didn't specify the "Setup
> >> Lib", only the "Driver Lib"
> >> The "Driver Lib" field is "libtdsodsc.so" from the location
> >> "/usr/local".
> >> Does anybody know what should be in the "Setup Lib"?
> >>
> >> Thank you in advance.
>
> >Simply the same library.
>

>From my /etc/odbcinst.ini
[FreeTDS]
Description = FreeTDS
Driver = /home/freddy/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
Setup = /home/freddy/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
FileUsage = 1
Trace = Yes
TraceFile = /tmp/sql.log

ODBCConfig works as expected.

$ nm /home/freddy/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so |
grep ODBC
0000d114 T ODBCINSTGetProperties

(this is the entry for ODBCConfig using unixODBC)

Are you using 0.63, don't you?

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page