What steps will reproduce the problem? 1. Install FreeTDS Python 2.7.2, unixodbc and then install pymssql
2.create simple conn/query script
3.You will get an import error staying _mssql.so:undefined What is the expected output? What do you see instead? Query Results
Instead:
/home/zenoss/py27/bin/python soc01etcconntest.py
Traceback (most recent call last):
File "soc01etcconntest.py", line 4, in
import pymssql
File "_mssql.pxd", line 10, in init pymssql (pymssql.c:8589)
ImportError: /home/zenoss/py27/lib/python2.7/site-packages/pymssql-2.0.0b1_dev_20111019-py2.7-linux-x86_64.egg/_mssql.so: undefined What version of the product are you using? On what operating system? pymssql-2.0.0b1_dev_20111019 Centos5.7 x86_64 Please provide any additional information below. I have installed a seperate instance of Python 2.7.2 on a python box. I need to query a MSSQL db as per a new applications requirement. No idea where to go from here.
From islam.eldib on February 27, 2012 11:14:30
What steps will reproduce the problem? 1. Install FreeTDS Python 2.7.2, unixodbc and then install pymssql 2.create simple conn/query script 3.You will get an import error staying _mssql.so:undefined What is the expected output? What do you see instead? Query Results
Instead:
/home/zenoss/py27/bin/python soc01etcconntest.py Traceback (most recent call last): File "soc01etcconntest.py", line 4, in
import pymssql
File "_mssql.pxd", line 10, in init pymssql (pymssql.c:8589)
ImportError: /home/zenoss/py27/lib/python2.7/site-packages/pymssql-2.0.0b1_dev_20111019-py2.7-linux-x86_64.egg/_mssql.so: undefined What version of the product are you using? On what operating system? pymssql-2.0.0b1_dev_20111019 Centos5.7 x86_64 Please provide any additional information below. I have installed a seperate instance of Python 2.7.2 on a python box. I need to query a MSSQL db as per a new applications requirement. No idea where to go from here.
Original issue: http://code.google.com/p/pymssql/issues/detail?id=82