Re: Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-15 Thread Adam Stein
LD_LIBRARY_PATH variable is the correct one to use when running from your account (not to go into the discussion as to why some people think LD_LIBRARY_PATH is evil), as evidenced when you run python on the command line. In the case of Django running through a web server, the web server is not

Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-13 Thread NoCleverName
So I'm having an issue getting Django to work with MySQL. After I log into my Django site, I get the following error: ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory The error is being thrown from

Re: Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-13 Thread NoCleverName
This is the author again. Of course, 10 minutes after I post a question, I find the solution. (After hours of searching beforehand) If anyone else has this problem, the solution for me was: edit /etc/ld.so.conf add the line: /usr/local/mysql/lib then run /etc/ldconfig Fixed the problem