Note that there are some explanatory texts on larger screens.

plurals
  1. POChange the python version after installing django
    primarykey
    data
    text
    <p>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.</p> <p>i already wasted much time to figure that but could not solve it.</p> <p>I just wanted to know that if continue with default python and install Django then can i change the python to 2.7 later</p> <p>EDIT: <strong>CENTOS5.5</strong> The error i get is </p> <blockquote> <p>/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: <em>*</em> [mod_wsgi.la] Error 1</p> </blockquote> <p>this all heppens if i do </p> <blockquote> <p>"make" in mod_wsgi directory</p> </blockquote> <p>Now this error is written on their <a href="http://code.google.com/p/modwsgi/wiki/InstallationIssues" rel="nofollow">help site</a></p> <p>But i could not configure these things.</p> <p>According to them</p> <blockquote> <p>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.</p> </blockquote> <p>i have found that my python version is 64bit . So the only thing left is the other option he talked in above text.</p> <p>I don't know how to</p> <pre><code>1) Check if shared library does exist 2) How to add the missing symlink </code></pre> <p>If i make the mos_wsgi using default python then i get no error. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload