Home > Python Error > Python Error While Loading Shared Libraries Libpython2.4.so.1.0

Python Error While Loading Shared Libraries Libpython2.4.so.1.0

python shared-library gdb share|improve this question asked Mar 1 '14 at 11:00 gskartwii 613 There are newer versions of libpython like 2.7 3.2 and 3.3 available, install those and Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the The author of that question also stated that the LD_LIBRARY_PATH approach did not work for him, but adding the library path to /etc/ld.so.conf and running ldconfig worked. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed this content

Oh Red Hat 5.8 is where I'm installing on. Not the answer you're looking for? You signed out in another tab or window. What should I do now?

For some reason, python fails to load recognize this, though not completely sure what causes it. How much are taxes for a postdoc in the United States? So you need to add the library path to /etc/ld.so.conf file and activate it with ldconfig: # echo "/opt/python2.6/lib" > /etc/ld.so.conf.d/libpython2.6.conf # ldconfig share|improve this answer edited Oct 31 '11 at How does a jet's throttle actually work?

ChrisA -- https://mail.python.org/mailman/listinfo/python-list billyfurlong at gmail Dec1,2014,8:40AM Post #7 of 8 (1288 views) Permalink Re: Issues installing Python 2.7 [In reply to] This actually worked!! Would it be ok to eat rice using spoon in front of Westerners? Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name I don't think it'll make much difference here, but you may as well grab the latest stable. > ./configure --prefix=/opt/python2.7 --enable-shared > > make > > make altinstall It's been a

centos python mod-python share|improve this question edited Oct 31 '11 at 8:31 quanta 36.5k783161 asked Oct 31 '11 at 7:50 Astha 1681512 add a comment| 2 Answers 2 active oldest votes Why would breathing pure oxygen be a bad idea? Thanks in advance :)replyRe: Ubuntu Server: libpython2.4.so.1.0: cannot open shared object file: No such file or directory :: Jul 7, 2010 @ 10:08amjaeJoined: Oct 23, 2007Posts: 4If you're running a binary http://stackoverflow.com/questions/25504258/error-while-loading-shared-libraries-libpython2-6-so-1-0-cannot-open-shared-ob Thanks in advance, quakenulpost updated on Aug 4, 2008 @ 2:48pmreplyRe: Ubuntu Server: libpython2.4.so.1.0: cannot open shared object file: No such file or directory :: Aug 4, 2008 @ 4:02pmphilhasseyClan: GalconicornJoined:

I have multiple versions of Python installed on a Red Hat system (Centos, but RH should be the same) using the default prefix of /usr/local/bin and don't have any trouble. Font identification dificulties How much are taxes for a postdoc in the United States? Not the answer you're looking for? share|improve this answer edited Sep 27 at 15:01 Baris Demiray 510416 answered Sep 22 '14 at 2:44 Pankaj Soni 32926 add a comment| Your Answer draft saved draft discarded Sign

  1. You can sidestep these issues easily. –John Zwinck Aug 26 '14 at 11:54 @PadraicCunningham I tried doing the same using pyenv but to no avail –Ritesh Kumar Aug 26
  2. First some background..
  3. How do I find out if there is an Esperanto club in my city?
  4. Which lane to enter on this roundabout? (UK) more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback
  5. UNIX is a registered trademark of The Open Group.
  6. Life on Smooth World What exactly does it mean for a scalar function to be Lorentz invariant?
  7. Multiple password fields for one login Can Feudalism Endure Advanced Agricultural Techniques?
  8. Breaking effort on both Weak and Strong collision resistance hash values Can you move a levitating target 120 feet in a single action?
  9. Flight between non-Schengen countries with Schengen connection after exhausting 90/180 limit Does anyone know what this piece of glassware is?

This way I can tar the python-${PYTHON_VERSION} directory and land it anywhere and it will "work" (provided you don't run into libc or libm conflicts). official site There is a way to force root partition itself readwrite (with some minor disadvantages), but I decided not to go that route. Do you know, for absolute certain, which programs you run that end up calling on Python, perhaps via "#!/usr/bin/env python", or perhaps by being shell scripts and running "python my_main_module.py", or Generating a sequence of zeros at compile time Interviewee offered code samples from current employer -- should I accept?

Are there any historically significant examples? news How to tell where file is going to be saved? Was the Oceanic flight 815 pilot the only one attacked by the monster? Jokes about Monica's haircut more hot questions question feed lang-py about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life /

python shared-libraries share|improve this question asked Dec 30 '13 at 15:45 yehudahs 59011024 Have you tried export LD_LIBRARY_PATH=/usr/local/lib/python2.7/:$LD_LIBRARY_PATH? path. He's frustrated. -- https://mail.python.org/mailman/listinfo/python-list rosuav at gmail Nov26,2014,3:47PM Post #2 of 8 (1357 views) Permalink Re: Issues installing Python 2.7 [In reply to] On Thu, Nov 27, 2014 at 4:09 AM, <billyfurlong [at] have a peek at these guys Related 145Linux error while loading shared libraries: cannot open shared object file: No such file or directory72Why can't Python find shared objects that are in directories in sys.path?1514How to list all

Words that are anagrams of themselves What does the word "most" mean? share|improve this answer answered Mar 1 '14 at 11:42 Registered User 5,03453357 add a comment| up vote 0 down vote Picking up Aditya Patil's answer, you could grab possibly Python 2.6.9, more hot questions question feed lang-py about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

The best way I've found to address this is at compile time.

He's frustrated. Embed Share Copy sharable URL for this gist. It's a bare machine with nothing (except the system) using python. This also helps when trying to run multiple versions of Python on the same box, as you don't need to keep changing your LD_LIBRARY_PATH or worry about picking up the wrong

Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. I've always compiled Py3, and let that happily take over the name "python3", leaving the system Python 2.x on the name "python" and "python2". Does the code terminate? check my blog This is important as i am trying to run uwsgi 1.0.3 which is throwing the following error : error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such

How should I prepare myself for a more supervisory role? Unix & Linux Stack Exchange works best with JavaScript enabled Login | Register For Free | Help Search this list this category for: (Advanced) Mailing List Archive: Python: Python Issues Rearrange colors in BarChart more hot questions question feed lang-py about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Mathematics tenure-track committees: Mathjobs question Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"?

Can a nuclear detonation on Moon destroy life on Earth? It will install libpython2.7.so1.0. Not the answer you're looking for? It works. –Chang Mar 2 at 4:11 Easy solution worked for me too, thanks –TripleAntigen Apr 12 at 1:04 Okay, how to include that?

Not the answer you're looking for? asked 2 years ago viewed 26293 times active 8 months ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Get the weekly newsletter! how I got around it was by installing wine and running a windows install of glacon on ubuntureplyRe: Ubuntu Server: libpython2.4.so.1.0: cannot open shared object file: No such file or directory asked 4 years ago viewed 7263 times active 4 years ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Related -1How to Compile Mod_Python 3.3.1 for Python 2.6

Changing that would potentially break hundreds of scripts in your system. I tried setting export PYTHONHOME=/usr/local/ and export PYTHONPATH=/usr/local/lib/python2.7/ but it didn't help :( –haridsv Nov 7 '13 at 15:50 1 Does 'sudo echo $LD_LIBRARY_PATH' output what you expect? –rickhg12hs Nov