浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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.)"

posted on 2012-09-26 18:17  lexus  阅读(341)  评论(0编辑  收藏  举报