Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Mr dot Dan" <bitsandbytes88 at hotmail dot com>
Subject: sybase module for python
Date: May 26 2006 3:29PM


Thanks to your help on getting me through the sybperl installation.  My OS 
is SLES 9.3 and I'm running python 2.3.5.

Even though this isn't directly related to sybperl-2.18, I could get some 
direction on what to do with a situation regarding python.  The python 
newsgroup has been unresponsive.  Sybase support  is  working on this issue.

I would also like to use python as well as perl to make a query to our ASE 
11.9.2 server.
However, the sybase module for python sybase-0.37 is unable to 'import 
Sybase' Open Client libraries(OCS-15_0).

There is no error during the build or installation, but I get this error 
when I try to import Sybase.


:/usr/local/sybase.production/OCS-15_0> 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
Traceback (most recent call last):
  File "", line 1, in ?
  File "/usr/local/lib/python2.3/site-packages/", line 20, in ?
    from sybasect import *
ImportError: /usr/local/lib/python2.3/site-packages/ undefined 
symbol: cs_dt_info

Thanks for any help,