I got mod_python loaded into apache, and it was working--until I tried using MySQLdb.py. It now throws an error:
libmysqlclient_r.so.15 is located in /usr/local/lib/mysql
I can import the MySQLdb module just fine from the python interpreter.
How do I get mod_python to see the library? I've been digging through the apache documentation and forums for two hours now--and I found a solution that would probably work on Linux (this is my first attempt to use FreeBSD), involving editing /etc/ld.so.conf but that file doesn't seem to exist in FreeBSD.
I just started using FreeBSD this past month--so I don't know if any equivalent files exist.
So, if someone either knows where mod_python is looking for libraries, how to list its current list of library directories, how to add in that location to the included library directories, please let me know, or just has a good idea that I could try--I'd really appreciate it.
Code:
ImproperlyConfigured: Error loading MySQLdb module: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so"
libmysqlclient_r.so.15 is located in /usr/local/lib/mysql
I can import the MySQLdb module just fine from the python interpreter.
How do I get mod_python to see the library? I've been digging through the apache documentation and forums for two hours now--and I found a solution that would probably work on Linux (this is my first attempt to use FreeBSD), involving editing /etc/ld.so.conf but that file doesn't seem to exist in FreeBSD.
I just started using FreeBSD this past month--so I don't know if any equivalent files exist.
So, if someone either knows where mod_python is looking for libraries, how to list its current list of library directories, how to add in that location to the included library directories, please let me know, or just has a good idea that I could try--I'd really appreciate it.