Issue 71 pymssql Undefined symbols on Mac, CentOS, Redhat with precompiled build A fast MS SQL Server client library for Python directly using C API instead of ODBC. It is Python DBAPI 2.0 compliant. Works on Linux, *BSD, Solaris, Mac OS X and Win

Issue 71 - pymssql - Undefined symbols on Mac, CentOS, Redhat with pre-compiled build - A fast MS SQL Server client library for Python directly using C API instead of ODBC. It is Python DB-API 2.0 compliant. Works on Linux, *BSD, Solaris, Mac OS X and Windows. - Google Project Hosting

Here is what our own sysadmin was able to do from clues provided by jeremy.m in comment 8 to get it working on our RHEL5 w/python 2.7.2. I hope it helps someone else...

"When you download the package, it's a compressed tar ball. When you expand it, it goes into a folder (pymssql-2.0.0b1-dev-20111019) with a bunch of sub-folders. One of those sub-folders was "freetds". All I did was a "rm -rf freetds" and then a "python setup.py build" and a "python setup.py install" and I was done. (Of course I could have done this all with just the one "install" command but I'm a little careful of things.)"

原文地址:https://www.cnblogs.com/lexus/p/2704462.html