mysql_python, ImportError: ld.so.1: python2.3: fatal: relocation error:
有那位大侠伸伸手,实在搞不定了。哎
root@Pandora # python
Python 2.3.3 (#1, Dec 15 2004, 14:04:32) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "build/bdist.solaris-2.10-sun4u/egg/MySQLdb/__init__.py", line 19, in ?
File "build/bdist.solaris-2.10-sun4u/egg/_mysql.py", line 7, in ?
File "build/bdist.solaris-2.10-sun4u/egg/_mysql.py", line 6, in __bootstrap__
ImportError: ld.so.1: python2.3: fatal: relocation error: file /.python-eggs/MySQL_python-1.2.2-py2.3-solaris-2.10-sun4u.egg-tmp/_mysql.so: symbol mysql_autocommit: referenced symbol not found
是什么原因?还没安装完全?我在site-packages目录下看到这些,但没有看到mysql_python的目录
root@Pandora # pwd
/usr/sfw/lib/python2.3/site-packages
root@Pandora # ls
MySQL_python-1.2.2-py2.3-solaris-2.10-sun4u.egg pexpect.pyc
README setuptools-0.6c5-py2.3.egg
easy-install.pth setuptools.pth
pexpect.py