Skip to Content.
Sympa Menu

freetds - Re: [freetds] [unixODBC][FreeTDS][SQL Server]Only one between SERVER, SERVERNAME and DSN can be specified

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [unixODBC][FreeTDS][SQL Server]Only one between SERVER, SERVERNAME and DSN can be specified
  • Date: Tue, 30 Sep 2014 11:11:56 +0100

Hi,
you should install odbcinst1debian2 package on debian/ubuntu.
Actually it's quite strange you got this error. Installing package
should handle dependencies while compiling from sources should detect
the file.

Frediano


2014-09-29 18:59 GMT+01:00 venkata krishna Thaluru
<venkatakrishnat1 AT gmail.com>:
> Thanks for reply Frediano,
>
> When i run the ldd command ,it is saying binary not found( libodbcinst.so.1
> => not found) .
>
> ldd libtdsodbc.so
> linux-vdso.so.1 => (0x00007fffc7dc4000)
> libodbcinst.so.1 => not found
> librt.so.1 => /lib64/librt.so.1 (0x00007fa7427f0000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007fa7425ec000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa7423cf000)
> libc.so.6 => /lib64/libc.so.6 (0x00007fa74203b000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fa742c63000)
>
> Could you please tell me ,if i am missing anything ..
>
> Thanks
> Venkata Krishna
>
> On Fri, Sep 26, 2014 at 4:11 AM, Frediano Ziglio <freddy77 AT gmail.com> wrote:
>
>> Finally I found some time to try a repro. The problem does no occurs on my
>> machine either using master or 0.91 branch.
>>
>> Can I have access to one of your machine?
>>
>> Send details privately to me if required.
>>
>> Frediano
>>
>> Frediano
>>
>> 2014-09-22 18:07 GMT+01:00 venkata krishna Thaluru <
>> venkatakrishnat1 AT gmail.com>:
>>
>> > Hi Frediano,
>> > Could you please check my configurations and update me ,i was struck on
>> it
>> > . I m not able to proceed further.
>> >
>> > Thanks
>> > Venkata Krishna
>> >
>> > On Sat, Sep 20, 2014 at 7:46 PM, venkata krishna Thaluru <
>> > venkatakrishnat1 AT gmail.com> wrote:
>> >
>> > > Thanks for reply Frediano,
>> > > I am done below steps.if i missed or done wrong please correct me .
>> > > 1)I have downloaded 0.91 from freetds location.
>> > > 2)copied to 64 bit dev machine OS is linux
>> > > 3)i have the run following commands ./configure ,make ,make install
>> > > 4)then copied following binaries.
>> > > ./src/odbc/.libs/libtdsodbc.so
>> > > ./src/dblib/.libs/libsybdb.so
>> > > ./src/ctlib/.libs/libct.so
>> > >
>> > > 5)odbc.ini
>> > > [DSNNAME]
>> > > driver = <location of libtdsodbc.so>
>> > > ServerName = RemoteServer
>> > >
>> > > 6)freetds.conf
>> > > <RemoteServer>
>> > > host=IP address
>> > > port =1433
>> > > tds version =8.0
>> > >
>> > > Could you please let me know if i missed any thing .
>> > > Thanks in advance.
>> > >
>> > > Thanks
>> > > Venkata Krishna
>> > >
>> > > On Sat, Sep 20, 2014 at 6:00 PM, Frediano Ziglio <freddy77 AT gmail.com>
>> > > wrote:
>> > >
>> > >> You can have only one between SERVERNAME, SERVER and DSN.
>> > >>
>> > >> If you post your configurations files surely the configuration you are
>> > >> trying to use has such mistake.
>> > >>
>> > >> Frediano
>> > >>
>> > >> Frediano
>> > >>
>> > >> 2014-09-20 13:23 GMT+01:00 venkata krishna Thaluru <
>> > >> venkatakrishnat1 AT gmail.com>:
>> > >>
>> > >> > Thanks for reply Frediano,
>> > >> > Could you please let me know ,what are the conflicting options.
>> > >> >
>> > >> > Thanks in advance .
>> > >> >
>> > >> > Thanks
>> > >> > Venkata Krishna
>> > >> >
>> > >> > On Fri, Sep 19, 2014 at 11:48 PM, Frediano Ziglio <
>> freddy77 AT gmail.com
>> > >
>> > >> > wrote:
>> > >> >
>> > >> > > 2014-09-19 19:00 GMT+01:00 venkata krishna Thaluru <
>> > >> > > venkatakrishnat1 AT gmail.com>:
>> > >> > >
>> > >> > > > Hi All,
>> > >> > > > I am getting below error and while connecting to mssql.
>> > >> > > >
>> > >> > > > [unixODBC][FreeTDS][SQL Server]Only one between SERVER,
>> SERVERNAME
>> > >> and
>> > >> > > DSN
>> > >> > > > can be specified
>> > >> > > >
>> > >> > > > I have checked the code in freeTDs ,We are checking whether we
>> > have
>> > >> > > > configured one ,then we are throwing this error.
>> > >> > > >
>> > >> > > > Could you please let me know ,if i missed any configuration in
>> any
>> > >> > file.
>> > >> > > >
>> > >> > > > Thanks in advance
>> > >> > > >
>> > >> > > >
>> > >> > > > Thanks
>> > >> > > > Venkata Krishna
>> > >> > > >
>> > >> > > >
>> > >> > > No missing configuration, only there are conflicting options.
>> > >> > >
>> > >> > > Frediano
>> > >> > > _______________________________________________
>> > >> > > FreeTDS mailing list
>> > >> > > FreeTDS AT lists.ibiblio.org
>> > >> > > http://lists.ibiblio.org/mailman/listinfo/freetds
>> > >> > >
>> > >> >
>> > >> >
>> > >> >
>> > >> > --
>> > >> >
>> > >> > *Thanks&RegardsVenkatakrishna.T*
>> > >> >
>> > >> > *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
>> > >> > _______________________________________________
>> > >> > FreeTDS mailing list
>> > >> > FreeTDS AT lists.ibiblio.org
>> > >> > http://lists.ibiblio.org/mailman/listinfo/freetds
>> > >> >
>> > >> _______________________________________________
>> > >> FreeTDS mailing list
>> > >> FreeTDS AT lists.ibiblio.org
>> > >> http://lists.ibiblio.org/mailman/listinfo/freetds
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > >
>> > > *Thanks&RegardsVenkatakrishna.T*
>> > >
>> > > *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
>> > >
>> >
>> >
>> >
>> > --
>> >
>> > *Thanks&RegardsVenkatakrishna.T*
>> >
>> > *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
>> > _______________________________________________
>> > FreeTDS mailing list
>> > FreeTDS AT lists.ibiblio.org
>> > http://lists.ibiblio.org/mailman/listinfo/freetds
>> >
>> _______________________________________________
>> FreeTDS mailing list
>> FreeTDS AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
>
>
>
> --
>
> *Thanks&RegardsVenkatakrishna.T*
>
> *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page