djhenderson / pymssql

Automatically exported from code.google.com/p/pymssql
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Import Error #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 <module>
    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 reported on code.google.com by islam.el...@gmail.com on 27 Feb 2012 at 7:14

GoogleCodeExporter commented 9 years ago
CentOS does have problems: http://code.google.com/p/pymssql/issues/detail?id=76

Original comment by rsyr...@gmail.com on 8 Mar 2012 at 2:43