If that continues to fail, I suggest adding your own comment to that bug. Delete the build directory, and include the output from setup.py build so they can see what compiler flags are being used, and also include the ImportError message. They will probably be interested in knowing what C compiler you are using (output of gcc -v) and the output of mysql_config.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use MySQLdb with MySQL 5.0.20a on centos 4.3.
"python setup.py install" compile and install without any warnings. But when I'm trying to import MySQLdb in my script, I have warning:
ImportError: /usr/lib/python2.3/site-packages/_mysql.so: undefined symbol: __builtin_delete
BTW I've found that similar problem exists with perl: http://lists.mysql.com/mysql/197263
Try MySQL-5.0.21; it has a security update.
If that continues to fail, I suggest adding your own comment to that bug. Delete the build directory, and include the output from setup.py build so they can see what compiler flags are being used, and also include the ImportError message. They will probably be interested in knowing what C compiler you are using (output of gcc -v) and the output of mysql_config.
I've added comment to this bug:
http://bugs.mysql.com/bug.php?id=19532