Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5928401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:17:16+00:00 2026-05-22T14:17:16+00:00

I am trying to install mod_wsgi and django. When i make mod_wsgi then i

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:17:16+00:00Added an answer on May 22, 2026 at 2:17 pm

    I just wanted to know that if continue with default python and install Django then can i change the python to 2.7 later

    Yes. Upgrades are permitted. AFAIK, there’s no law that says you are not permitted to upgrade. Indeed, why ask if an upgrade is possible? Have you been told that you’re not permitted to upgrade?

    Use the default Python.

    Learn Python. Do the entire tutorial.

    Install Django.

    Learn Django. Do the entire tutorial.

    When you go to install mod_wsgi (which you should not do first) please search for CentOS and mod_wsgi. Search is an important skill.

    Problem with Django setup using mod_wsgi and apache on centos 5.4

    http://library.linode.com/frameworks/django-apache-mod-wsgi/centos-5

    And upgrades are permitted. Don’t ask for permission. Search for relevant issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to install mysql-python. Got following error. Got mysql and pythond already installed. Any
When trying to install a package in R I get the following odd error
I was trying to install bundler in Linux Mint. but I'm getting this error
I'm trying to run mod_wsgi 3.1 under Apache 2.2.14 using a non-default python installation
Trying to install mysql2 gem on ruby 1.9.2 and I get this error: Installing
Trying to install Cython so I can use openKinect Python wrapper. I downloaded Xcode
While trying to install Rails 3, I get the following error: command run: sudo
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
Trying to install the RMagick gem is failing with an error about being unable
Trying to install pear package and keep getting this strange error. Can you shed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.