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

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4fZN4nhXKPHq3_=xxgpQ0jDO8Q1_UsOeTkB2KkaTD7nUg@mail.gmail.com>
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 <[email protected]>:
> 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 <[email protected]> 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 <
>> [email protected]>:
>>
>> > 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 <
>> > [email protected]> 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 <[email protected]>
>> > > 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 <
>> > >> [email protected]>:
>> > >>
>> > >> > 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 <
>> [email protected]
>> > >
>> > >> > wrote:
>> > >> >
>> > >> > > 2014-09-19 19:00 GMT+01:00 venkata krishna Thaluru <
>> > >> > > [email protected]>:
>> > >> > >
>> > >> > > > 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
>> > >> > > [email protected]
>> > >> > > http://lists.ibiblio.org/mailman/listinfo/freetds
>> > >> > >
>> > >> >
>> > >> >
>> > >> >
>> > >> > --
>> > >> >
>> > >> > *Thanks&RegardsVenkatakrishna.T*
>> > >> >
>> > >> > *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
>> > >> > _______________________________________________
>> > >> > FreeTDS mailing list
>> > >> > [email protected]
>> > >> > http://lists.ibiblio.org/mailman/listinfo/freetds
>> > >> >
>> > >> _______________________________________________
>> > >> FreeTDS mailing list
>> > >> [email protected]
>> > >> 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
>> > [email protected]
>> > http://lists.ibiblio.org/mailman/listinfo/freetds
>> >
>> _______________________________________________
>> FreeTDS mailing list
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
>
>
>
> --
>
> *Thanks&RegardsVenkatakrishna.T*
>
> *HCL TECHNOLOGIES Ltd.09600185503/09908611807*
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.