Both the source version and the rpm are built basically the same way,
and the final result after installation is something like:
# python
Python 2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Sybase
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "build/bdist.linux-x86_64/egg/Sybase.py", line 11, in ?
File "build/bdist.linux-x86_64/egg/sybasect.py", line 7, in ?
File "build/bdist.linux-x86_64/egg/sybasect.py", line 6, in __bootstrap__
ImportError:
/home/mbest/.python-eggs/python_sybase-0.39-py2.4-linux-x86_64.egg-tmp/sybasect.so:
undefined symbol: blk_alloc
As per this thread:
http://mlblog.osdir.com/python.sybase/2004-03/
Something may be going wrong in linking, as the sybasect.so doesn't seem
to be linked to the sybase libraries.