装python + apache + django过程中真是一个问题加一个问题啊,刚刚解决完一个,又来一个
Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory
后来上网找了半天 看到 http://sourceforge.net/projects/mysql-python/forums/forum/70461/topic/3450226
有这么一个回复
nstead of changing your LD_LIBRARY_PATH you should set "runtime_library_dirs" to point to your library path on the destination system in the setup_posix.py before compiling.
eg. like this:
Code: