Hi,
I am trying to use python to connect to MS SQL server. I installed freetds (dev. 0.82) with unixODBC enabled. I also installed py-odbc from ports.
When I try
I got error message saying,
Strange thing is that I can connect to MS SQL server if I use
It works perfectly.
Also, if I make freetds with "--disable-libiconv", it works.
I'm guessing that there is a problem with python and libiconv. Can anybody help me with this? I'm using FreeBSD 8.2R and python 2.71
Thank you for reading this.
Jeff
I am trying to use python to connect to MS SQL server. I installed freetds (dev. 0.82) with unixODBC enabled. I also installed py-odbc from ports.
When I try
Code:
import pyodbc
conn = pyodbc.connect("DSN=mydsn;UID=user;PWD=pass")
Code:
"libexec/ld-elf.so.1: /usr/local/lib/libtdsodbc.so: Undefined symbol "libiconv_open"
Code:
isql mydsn user pass
Also, if I make freetds with "--disable-libiconv", it works.
I'm guessing that there is a problem with python and libiconv. Can anybody help me with this? I'm using FreeBSD 8.2R and python 2.71
Thank you for reading this.
Jeff