64位centos下安装mod_wsgi的问题
我在64位centos下安装mod_wsgi,在make步骤出现了问题,上网查了一下可能是因为安装python与系统是64位的问题有关,具体错误如下:
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_wsgi.lo -L/usr/local/lib -L/usr/local/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm
/usr/bin/ld: /usr/local/lib/libpython2.7.a(node.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [mod_wsgi.la] Error 1
我上网查到的这个网站看不怎么懂怎么解决,请大牛指教。。
http://code.google.com/p/modwsgi/wiki/InstallationIssues