Tuesday, March 1, 2011

mysql MySQL-python and libmysqlclient.so.16 hell

Hi everyone

This is completely driving me crazy :-)

I've installed(reinstalled many times) mysql5.5.9 from source,
followed this guys instructions

http://greensysadmin.com/2011/01/24/mysql-5-5-installing-from-source-ubuntu-debian/

Then downloaded and installed django1.2.4 from source

Then downloaded MySQL-Python and installed that, after changing and
uncommenting this line in site.cfg

mysql_config = /usr/local/mysql/bin/mysql_config

When I try and run a django app, it says

django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module: libmysqlclient.so.16: cannot open shared object file: No such
file or directory

That file is present in /usr/local/mysql/lib

I've installed, reinstalled, all of the above, and it's still doing
this, I have no idea why

Can anyone help? You may have guessed but it's bugging the sh*t out
of me at the moment :-)

Any help, as always, greatly appreciated.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment