Summary: | import mysql-python module gives undefined symbol error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Balki <schmalki> |
Component: | [OLD] Development | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | CC: | liquidx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
I can't reproduce this on MySQL-4.0.12 with mysql-python-0.9.2-r1. Retested with 4.0.12 of mysql and the bug has gone. Thanks. Totally solved. i have the same problem, this bug is really closed? jm@astar ~ $ python Python 2.3.4 (#1, Jun 5 2004, 10:30:16) [GCC 3.3.3 20040412 (Gentoo Linux 3.3.3-r5, ssp-3.3-7, pie-8.7.5.3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mysqldb Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named mysqldb >>> import MySQLdb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.3/site-packages/MySQLdb/__init__.py", line 27, in ? import _mysql ImportError: /usr/lib/python2.3/site-packages/_mysql.so: undefined symbol: SSL_read >>> have you tried remerging mysql-python or mysql again? |
When importing the mysql-python package (0.9.2) in python (2.2.2) using version 4.0.11a-r1 of MySQL, an undefined symbol error occurs. This was fine under v3.23 of MySQL. Reproducible: Always Steps to Reproduce: 1.Enter python interactive shell 2.Type "import MySQLdb" Actual Results: >>> import MySQLdb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/MySQLdb/__init__.py", line 27, in ? import _mysql ImportError: /usr/lib/libmysqlclient_r.so.12: undefined symbol: ERR_get_error_line_data