BTW, mod_wsgi 3.4 is ancient. You should not be using such an old version. It 
is no longer unsupported. The most up to date versions are available from:

https://github.com/GrahamDumpleton/mod_wsgi/releases

> On 7 Jun 2016, at 4:56 PM, Graham Dumpleton <[email protected]> 
> wrote:
> 
> 
>> On 7 Jun 2016, at 4:52 PM, sreenath CSE <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I'm using centos 6.3 python 2.7
>> installing mod_wgi is failing 
>> 
>> /configure --enable-shared
> 
> The --enable-shared option is a an option to the ‘configure’ script of Python 
> when installing it, not to the ‘configure’ script for mod_wsgi.
> 
> You thus need to reinstall your Python installation from fresh source code.
> 
> For details about Python installation see:
> 
>     
> http://blog.dscpl.com.au/2015/06/installing-custom-python-version-into.html 
> <http://blog.dscpl.com.au/2015/06/installing-custom-python-version-into.html>
> 
> Ignore that it says for Docker, all still relevant. It mentions about shared 
> libraries in it.
> 
> Graham
> 
>> 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.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> Visit this group at https://groups.google.com/group/modwsgi 
>> <https://groups.google.com/group/modwsgi>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to