I am trying to install mod_wsgi and django. When i "make" mod_wsgi then i get error if i use python2.7 but it went ok with default python.
i already wasted much time to figure that but could not solve it.
I just wanted to know that if continue with default python and install Django then can i change the python to 2.7 later
EDIT: CENTOS5.5 The error i get is
/usr/bin/ld: /opt/python27/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 /opt/python27/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
this all heppens if i do
"make" in mod_wsgi directory
Now this error is written on their help site
But i could not configure these things.
According to them
If the version of Python being used was compiled for X86 64 bit architecture and a shared library does exist, but not in the 'config' directory, then adding the missing symlink may be all that is required.
i have found that my python version is 64bit . So the only thing left is the other option he talked in above text.
I don't know how to
1) Check if shared library does exist
2) How to add the missing symlink
If i make the mos_wsgi using default python then i get no error.