Re: ImportError: comn_free ?

Harri Pasanen <[email protected]>
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
On Friday 06 December 2002 18:51, Tony Burger wrote:
> This is kinda wierd. This works just fine when run from the command line
> using "python script_name.py" but blows up when run in a CGI fashion. Any
> ideas why it can't find "comn_free"?
[SNIP|
> [error] from sybasect import *
> [error] ImportError: /usr/local/sybase/lib/libcomn.so: undefined symbol:
> comn_free

LD_LIBRARY_PATH?

Problem is most likely that it picks up /usr/lib/libintl.so  (gettext 
library), and not the sybase version (probably in your environment in 
/usr/local/sybase/lib/libintl.so).

-Harri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.