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 188939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:07:50+00:00 2026-05-11T16:07:50+00:00

I am supporting an application with a hard dependency on python-devel 2.3.7. The application

  • 0

I am supporting an application with a hard dependency on python-devel 2.3.7. The application runs the python interpreter embedded, attempting to load libpython2.3.so – but since the local machine has libpython2.4.so under /usr/lib64, the application is failing.

I see that there are RPMs for python-devel (but not version 2.3.x). Another wrinkle is that I don’t want to overwrite the existing python under /usr/lib (I don’t have su anyway). What I want to do is place the somewhere in my home directory (i.e. /home/noahz/lib) and use PATH and LD_LIBRARY_PATH to point to the older version for this application.

What I’m trying to find out (but can’t seem to craft the right google search for) is:

1) Where do I download python-devel-2.3 or libpython2.3.so.1.0 (if either available)

2a) If I can’t download python-devel-2.3, how do I build libpython2.3.so from source (already downloaded Python-2.3.tgz and

2b) Is building libpython2.3.so.1.0 from source and pointing to it with LD_LIBRARY_PATH good enough, or am I going to run into other problems (other dependencies)

3) In general, am I approaching this problem the right way?

ADDITIONAL INFO:

  • I attempted to symlink (ln -s) to the later version. This caused the app to fail silently.

  • Distro is Red Hat Enterprise Linux 5 (RHEL5) – for x86_64

  • 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-11T16:07:51+00:00Added an answer on May 11, 2026 at 4:07 pm

    You can use the python RPM’s linked to from the python home page ChristopheD mentioned.
    You can extract the RPM’s using cpio, as they are just specialized cpio archives.
    Your method of extracting them to your home directory and setting LD_LIBRARY_PATH and PATH should work; I use this all the time for hand-built newer versions of projects I also have installed.

    Don’t focus on the -devel package though; you need the main package. You can unpack the -devel one as well, but the only thing you’ll actually use from it is the libpython2.3.so symlink that points to the actual library, and you can just as well create this by hand.

    Whether this is the right approach depends on what you are trying to do. If all you’re trying to do is to get this one application to run for you personally, then this hack sounds fine.

    If you wanted to actually distribute something to other people for running this application, and you have no way of fixing the actual application, you should consider building an rpm of the older python version that doesn’t conflict with the system-installed one.

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

Sidebar

Ask A Question

Stats

  • Questions 397k
  • Answers 397k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You see it in your error message. When using <%=… May 15, 2026 at 3:15 am
  • Editorial Team
    Editorial Team added an answer If your questions are stored in a SQL database you… May 15, 2026 at 3:15 am
  • Editorial Team
    Editorial Team added an answer Rails 3+ Enter this line in the console: ActiveRecord::Base.logger =… May 15, 2026 at 3:15 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.