a word of advice

Constantinos A. Kotsokalis c.kotsokalis at noc.ntua.gr
Thu Dec 30 09:42:24 EST 1999


I do not know if this has been said in any of these two groups
before, but here's a bit of advice: If you try to compile
ctsybase python module to use with Sybase under Linux (or
any other OS, for that matter) and get a core dump when you
try to import it (doesn't matter if it's statically linked
or a dynamic module), make sure your locale (LC_ALL env.
variable) is available in sybase's locales file
(locales/locales.dat). It took me some three hours yesterday
night to locate the problem (thanks, redhat, for stripping
the python executable and cut the way to valuable debugging
information :-)). If your locale is not available, either
change locale or add it to the locales file as an ``alias''.

  Regards,
    Costas

PS: I wonder why isql worked...

-- 
Constantinos A. Kotsokalis || c.kotsokalis at noc.ntua.gr
National Technical University of Athens
Network Management Center
Tel. No: +30 1 7721861



More information about the Python-list mailing list