Can't import Object Craft's Sybase module...

Skip Montanaro skip at pobox.com
Wed Apr 28 09:19:06 EDT 2004


I downloaded and built Object Craft's Sybase module but can't import it:

    % PYTHONSTARTUP= python
    Python 2.4a0 (#4, Mar 31 2004, 15:02:21) 
    [GCC 3.3.2] on sunos5
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import Sybase
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      File "/home/titan/skipm/local/lib/python2.4/site-packages/Sybase.py", line 20, in ?
        from sybasect import *
    ImportError: ld.so.1: python: fatal: relocation error: file /opt/sybase/lib/libblk.so: symbol srv__get_xdrrecv: referenced symbol not found

The comp.lang.python archives from late 2001 contain a message from Dave
Cole about this same problem, but as far as I could tell there was never any
resolution.

My environment for this mini-project is Solaris 9 on Intel.  I've scanned
every directory I can think of (/usr/lib, /opt/sybase/lib, /opt/Forte*, etc)
looking for .so files containing that symbol but haven't found anything.  I
wasn't able to fine anything on the Sybase website either.

Any suggestions appreciated.

Skip





More information about the Python-list mailing list