Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17843 - import mysql-python module gives undefined symbol error
Summary: import mysql-python module gives undefined symbol error
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-19 16:00 UTC by Balki
Modified: 2005-01-20 01:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balki 2003-03-19 16:00:35 UTC
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
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-26 05:28:24 UTC
I can't reproduce this on MySQL-4.0.12 with mysql-python-0.9.2-r1.
Comment 2 Balki 2003-04-26 14:46:28 UTC
Retested with 4.0.12 of mysql and the bug has gone.  Thanks.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-26 23:40:18 UTC
Totally solved.
Comment 4 footix 2005-01-19 13:38:46 UTC
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
>>>
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2005-01-20 01:21:23 UTC
have you tried remerging mysql-python or mysql again?