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: Igor Korot <ikorot AT earthlink.net>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] ODBCConfig for FreeTDS: User DSN problem
  • Date: Fri, 27 May 2005 16:02:16 -0700 (GMT-07:00)

This is my odbcinst.ini file.
[TDS]
Description = Sybase
Driver = /usr/local/libtdsodbc.so
Setup = /usr/local/libtdsodbc.so
FileUsage = 1

And I am using FreeTDS 0.62.3.
OS verion : Gentoo Linux 2005.0
kernel 2.6

This is the output of nm:
gentoo root # nm /usr/lib/libtdsodbc.so |grep ODBC
nm: /usr/lib/libtdsodbc.so: no symbols

I guess this is the problem, right? But I switched the ODBC on, when
installed the FreeTDS.....
Please confirm it's a problem, I will look into it.

Thank you.

> 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