pyodbc on linux

ajaksu ajaksu at gmail.com
Sat Jul 21 22:13:20 EDT 2007


On Jul 21, 5:54 pm, Sean Davis <seand... at gmail.com> wrote:
> I have read a couple of blogs suggesting that pyodbc is buildable
> under linux.

It is, following these wise words:
"Aargghh! I see that possibly there was a typo in cursor.cpp at line
1385:

Py_UNICODE* pNull = (Py_UNICODE*)wmemchr(pT, 0, cch)

should be

Py_UNICODE* pNull = (Py_UNICODE*)memchr(pT, 0, cch)


Anyway, uncommented what I had commented out and changed the wmemchr
to
wmemchr and everything compiled."
>From http://sourceforge.net/tracker/index.php?func=detail&aid=1731205&group_id=162557&atid=824254
(I just did it a few hours ago, quite a coincidence :))

HTH,
Daniel





More information about the Python-list mailing list