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: Sat, 28 May 2005 09:31:27 +0200

Il giorno ven, 27-05-2005 alle 16:02 -0700, Igor Korot ha scritto:
> 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.
>

Well, in odbcinst.ini is /usr/local/libtdsodbc.so while in your command
you used /usr/lib/libtdsodbc.so... IMO one is wrong...
Perhaps nm fails cause lib is stripped, you can have more luck with

$ objdump -T /usr/lib/libtdsodbc.so |grep ODBC
0000d114 g DF .text 0000066d Base ODBCINSTGetProperties

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page