Menu

#22 freetds fails with 0.39

open
nobody
None
5
2008-12-09
2008-12-09
hpasanen
No

Trying to run freetds 0.82 my code fails with AttributeError

/usr/lib/python2.5/site-packages/Sybase.py in prepare, line 471:
status = self._cmd.ct_cursor(CS_CURSOR_DECLARE, "ctmp%x" % id(self), sql, CS_UNUSED)

self._cmd does not appear to have ct_cursor.

I built with with command:

SYBASE=/usr CFLAGS="-DHAVE_FREETDS" python setup.py install

0.38 works for me with freetds using the above, on Kubuntu 8.10.

Before getting here I had to manually relink sybasect.so, adding -lct to the link command on a 64 bit linux.

Discussion


Log in to post a comment.