Discussion:
[freetds] Unable to load the driver libtdsodbc.so
venkata krishna Thaluru
2014-08-19 15:40:54 UTC
Permalink
Hi All,

I am connecting to MSSQL from sybase using freetds .I m getting the below
error.
like unable to load the driver libtdsodbc.so.

i have configured the odbc.ini
Driver=/abc/libtdsodbc.so
Servername =RemoteSQLServer

freetds.conf
host = 10.20.30.40
port = 1433
tds version = 8.0


Can you please share if i am missing any configuration details .

Thanks
Venkata krishna
Frediano Ziglio
2014-08-19 17:35:34 UTC
Permalink
2014-08-19 17:40 GMT+02:00 venkata krishna Thaluru <
Post by venkata krishna Thaluru
Hi All,
I am connecting to MSSQL from sybase using freetds .I m getting the below
error.
like unable to load the driver libtdsodbc.so.
i have configured the odbc.ini
Driver=/abc/libtdsodbc.so
Servername =RemoteSQLServer
This is quite partial configuration. Depending on DM type specifying a file
directly could be fine or not. Also you should make sure that the file type
match your program and DM. They should be all 32 or 64 bit, you cannot mix.
See http://www.freetds.org/userguide/odbcconnattr.htm.
Post by venkata krishna Thaluru
freetds.conf
host = 10.20.30.40
port = 1433
tds version = 8.0
8.0 is an old configuration 7.1 or 7.2 should be used.
http://www.freetds.org/userguide/choosingtdsprotocol.htm and
http://www.freetds.org/userguide/freetdsconf.htm.
Post by venkata krishna Thaluru
Can you please share if i am missing any configuration details .
Thanks
Venkata krishna
Frediano
venkata krishna Thaluru
2014-08-21 18:46:07 UTC
Permalink
Thanks for reply Frediano,
I could see still getting the same issue like unable to load the driver.
If i am to use TDS 7.2 ,whethr i need to download once again binaries.
Could you please share me link for it.

Thanks
Venkata Krishna

On Tue, Aug 19, 2014 at 11:05 PM, Frediano Ziglio <freddy77 at gmail.com>
Post by Frediano Ziglio
2014-08-19 17:40 GMT+02:00 venkata krishna Thaluru <
Post by venkata krishna Thaluru
Hi All,
I am connecting to MSSQL from sybase using freetds .I m getting the below
error.
like unable to load the driver libtdsodbc.so.
i have configured the odbc.ini
Driver=/abc/libtdsodbc.so
Servername =RemoteSQLServer
This is quite partial configuration. Depending on DM type specifying a file
directly could be fine or not. Also you should make sure that the file type
match your program and DM. They should be all 32 or 64 bit, you cannot mix.
See http://www.freetds.org/userguide/odbcconnattr.htm.
Post by venkata krishna Thaluru
freetds.conf
host = 10.20.30.40
port = 1433
tds version = 8.0
8.0 is an old configuration 7.1 or 7.2 should be used.
http://www.freetds.org/userguide/choosingtdsprotocol.htm and
http://www.freetds.org/userguide/freetdsconf.htm.
Post by venkata krishna Thaluru
Can you please share if i am missing any configuration details .
Thanks
Venkata krishna
Frediano
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
--
*Thanks&RegardsVenkatakrishna.T*

*HCL TECHNOLOGIES Ltd.09600185503/09908611807*
Frediano Ziglio
2014-08-25 18:58:43 UTC
Permalink
Please check the file type with the file command. Specifically the driver
and the executable.

Frediano

Frediano


2014-08-21 20:46 GMT+02:00 venkata krishna Thaluru <
Post by venkata krishna Thaluru
Thanks for reply Frediano,
I could see still getting the same issue like unable to load the driver.
If i am to use TDS 7.2 ,whethr i need to download once again binaries.
Could you please share me link for it.
Thanks
Venkata Krishna
On Tue, Aug 19, 2014 at 11:05 PM, Frediano Ziglio <freddy77 at gmail.com>
Post by Frediano Ziglio
2014-08-19 17:40 GMT+02:00 venkata krishna Thaluru <
Post by venkata krishna Thaluru
Hi All,
I am connecting to MSSQL from sybase using freetds .I m getting the
below
Post by Frediano Ziglio
Post by venkata krishna Thaluru
error.
like unable to load the driver libtdsodbc.so.
i have configured the odbc.ini
Driver=/abc/libtdsodbc.so
Servername =RemoteSQLServer
This is quite partial configuration. Depending on DM type specifying a
file
Post by Frediano Ziglio
directly could be fine or not. Also you should make sure that the file
type
Post by Frediano Ziglio
match your program and DM. They should be all 32 or 64 bit, you cannot
mix.
Post by Frediano Ziglio
See http://www.freetds.org/userguide/odbcconnattr.htm.
Post by venkata krishna Thaluru
freetds.conf
host = 10.20.30.40
port = 1433
tds version = 8.0
8.0 is an old configuration 7.1 or 7.2 should be used.
http://www.freetds.org/userguide/choosingtdsprotocol.htm and
http://www.freetds.org/userguide/freetdsconf.htm.
Post by venkata krishna Thaluru
Can you please share if i am missing any configuration details .
Thanks
Venkata krishna
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
Loading...