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
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
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
3 matches
Mail list logo