I'm using centos 6.3 python 2.7
installing mod_wgi is failing
/configure --enable-shared
make
/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(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' 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
[user@contentserver mod_wsgi-3.4]#
I tried everything on this group for this error still not able solve.
Thanks in advance.