[python-sybase] Linking issue on OS 10.3

Sébastien Arnaud arnaudsj at mac.com
Wed, 28 Apr 2004 22:03:24 -0500


Hi,

I am trying to compile the sybase python module on OS X and I am able 
to get it to compile by using python 2.2 (from Fink) with FreeTDS 6.2, 
but as soon as I try to import the module, I get the following linking 
error. Any ideas? I have come through a few post referring to similar 
problems but never with a solution.

Thank you in advance for your help.

 >>> import Sybase
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "Sybase.py", line 20, in ?
     from sybasect import *
ImportError: Failure linking new module: : dyld: python Undefined 
symbols:
_cs_config
_cs_convert
_cs_ctx_alloc
_cs_ctx_drop
_cs_dt_crack
_cs_dt_info
_cs_loc_alloc
_cs_loc_drop
_cs_locale
_ct_bind
_ct_callback
_ct_cancel
_ct_close
_ct_cmd_alloc
_ct_cmd_drop
_ct_command
_ct_con_alloc
_ct_con_drop
_ct_con_props
_ct_config
_ct_connect
_ct_describe
_ct_exit
_ct_fetch
_ct_get_data
_ct_init
_ct_options
_ct_param
_ct_res_info
_ct_results
_ct_send


Sébastien