[python-sybase] freetds error

Mr. Dan bitsandbytes88 at hotmail.com
Thu Jun 1 02:51:13 EST 2006


Hi,

I have freetds-0.63  installed.  Also, I have python 2.3.5.  I have 
LANG=en_US.  I also tried LANG= and LANG=C.  SYBASE=/usr/local/freetds and 
the interfaces file is there.

In the python module I can import Sybase, sys & string, but then I get a 
segmentation fault.

/local/freetds
/usr/local/freetds> python
Python 2.3.5 (#8, Mar 24 2005, 08:32:27)
[GCC 3.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>import Sybase
>>>import sys
>>>import string
>>>db=Sybase.connect('peach5027d','admin','passwd')
Segmentation fault

Thanks for any help,
~D




More information about the Python-sybase mailing list