[Zope] ZSybaseDA undefined symbol: bsd_tcp
Andrei Pitis
Andrei Pitis <pink@gnu.org>
Sun, 4 Apr 1999 07:04:53 -0400
Hi everybody,
Well, I tried very hard, there must be something I am doing wrong
here. I have a working Apache/Zope system, plus a working Sybase
installation, but I cannot get them to work together on my SuSE 6.0
system.
I have commented out -ltli in order to compile ctsybasemodule,
compiled ok, but the ZSybaseDA product is still broken. Here is the
traceback:
ZSybaseDA Import Traceback
Traceback (innermost last):
File "lib/python/OFS/Application.py", line 395, in import_products
File "/opt/Zope-1.10.2-linux2-x86/lib/python/Products/ZSybaseDA/__init__.py", line 100, in ?
import sys, os, Globals, DA
File "/opt/Zope-1.10.2-linux2-x86/lib/python/Products/ZSybaseDA/DA.py", line 102, in ?
from db import DB
File "/opt/Zope-1.10.2-linux2-x86/lib/python/Products/ZSybaseDA/db.py", line 103, in ?
import ctsybase, regex, sys
ImportError: /opt/sybase/lib/libtcl.so: undefined symbol: bsd_tcp
I have found the bsd_tcp symbol defined in libinsck.so, added -linsck,
recompiled, restarted, same result. I am using the Python that comes
with Zope, is there some trick in the way it loads shared libs?
/opt/sybase/lib is in /etc/ld.so.conf, of course...
Any help will be appreciated, thanks.
Andrei