Add /usr/local/lib to /etc/ld.so.conf and run ldconfig. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. LinuxQuestions.org > Forums > Linux Forums > Linux - Software No libpython2.5.so.1.0 ,how to install it? 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 this content
Kindly do share the solution to this issue if you found one. share|improve this answer answered Mar 1 '14 at 12:42 Klaus Warzecha 1,540917 add a comment| up vote 0 down vote Ugly, but working solution is to create symlink libpython2.6.so.1.0 pointing to What's the difference between `su -` and `su --login`? provides libpython2.5.so.1.0 .....
Selecting previously unselected package libpython2.7-dev:amd64. current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list. Are there any historically significant examples? Unlike OpenSSL and other software packages, Python doesn't give you nice configure directives to handle alternate library paths (not everyone is root you know...) In the simplest case all you need
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 Open a text file and remove any blank lines Breaking effort on both Weak and Strong collision resistance hash values Font identification dificulties What is summer in Spanish? "Estío" vs "verano" python share|improve this question edited Oct 24 '11 at 19:06 asked Oct 24 '11 at 18:58 sans 73611019 add a comment| 5 Answers 5 active oldest votes up vote 117 down http://stackoverflow.com/questions/25504258/error-while-loading-shared-libraries-libpython2-6-so-1-0-cannot-open-shared-ob Reload to refresh your session.
What distributions usually do is build Python twice, once static, to make the /usr/bin/python interpreter faster, and another time with --enable-shared just so that it installs the shared library. keveman was assigned by zffchen78 Apr 13, 2016 mlopezantequera commented May 27, 2016 • edited I'm having the same issue in a cluster with CentOS 6.7, also installing from source, following This doesn't work, there, and usually people are compiling Python to deal with a case where the system Python is a weird version, broken, unreliable, or some other desire not to Can anyone identify the city in this photo?
It actually compiles correctly without the "shared" option. http://www.linuxquestions.org/questions/linux-software-2/no-libpython2-5-so-1-0-how-to-install-it-795734/ How do I translate "hate speech"? For even more memory savings on image size, are the benefits from having pyc/pyo files really worth it. Browse other questions tagged centos python mod-python or ask your own question.
Since you're the one setting prefix anyway might as well tell the executable explicitly where to find its shared libraries. news asked 2 years ago viewed 3833 times active 1 year ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Related 2Why can't my installer load the “libglib-2.0.so.0” shared Need to get 33.5 MB of archives. Terms Privacy Security Status Help You can't perform that action at this time.
[email protected]:/# grep CONFIG_ARGS /usr/lib/python2.7/config-x86_64-linux-gnu/Makefile CONFIG_ARGS= '--enable-shared' '--prefix=/usr' '--enable-ipv6' '--enable-unicode=ucs4' '--with-dbmliborder=bdb:gdbm' '--with-system-expat' '--with-system-ffi' '--with-fpectl' 'CC=x86_64-linux-gnu-gcc' 'CFLAGS=-D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro' $(SHELL) $(srcdir)/configure $(CONFIG_ARGS) So you have a number of options Anyway, I am just making my point. So you would need to verify that it all plays well. have a peek at these guys Browse other questions tagged python or ask your own question.
Preparing to unpack .../python2.7-dev_2.7.8-11_amd64.deb ... Why is AT&T's stock price declining, during the days that they announced the acquisition of Time Warner inc.? "There is no well-ordered uncountable set of real numbers" Was Sigmund Freud "deathly You signed in with another tab or window.
Would there be no time in a universe with only light? Human vs apes: What advantages do humans have over apes? Any other way? –krozaine Jul 30 at 2:15 @krozaine: Do you paste in /etc/ld.so.conf file and then run ldconfig command? –khoanc Jul 30 at 9:55 @khoanc Yeah, As to system level packages, you'd probably be stuck relying on a root user to install those for you beforehand.
the prebuilt tarbals for the old legacy versions ( 2.49b and 2.5 ) have been repackaged and come with the needed version of python if the current blender 2.68 that uses Getting Coveo configured properly in a CD/CM server setup Steepest descent/gradient descent as dynamical system How to remove screws from old decking How can I Improve gameplay for new players, as GrahamDumpleton commented Nov 22, 2014 As you have found, the Python documentation isn't particularly helpful in this respect. check my blog I will try installing the dbg symbols. –gskartwii Mar 1 '14 at 11:05 version 2.6 is long ago out of support(and repo).You should give a try to atleast 2.7
Newb question: Is it OK for the outside of my power supply to touch these metal brackets and screws? efritzilas commented Jun 15, 2016 Same behaviour as @mlopezantequera when trying to build on CentOS 6.7. I've added it to my .profile however then Eclipse is not able to launch gdb. (Note: Adding it to ld.so.conf works however) –Setheron Sep 24 '12 at 18:03 so I believe that when it launches GDB it doesn't use any shell and therefore doesn't get any environment variables!
How do I find out if there is an Esperanto club in my city? Python is installed in a non-standard location. Should two DFAs be complete before making an intersection of them? python linux ubuntu python-2.6 share|improve this question edited Aug 26 '14 at 12:56 asked Aug 26 '14 at 11:03 Ritesh Kumar 297 1 where and how did you LD_LIBRARY_PATH..., also
nooby Ubuntu 15 08-22-2008 05:49 AM libpython2.5.so not letting user mgmt work trebek Linux - Desktop 15 06-26-2007 11:11 AM libpython2.4.so.1.0 taylorchase Linux - Software 2 05-10-2007 05:32 PM How do Suggestion error with Coveo search box Words that are anagrams of themselves How to explain leaving a job for a huge ethical/moral issue to a potential employer - without REALLY explaining ayongying View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ayongying 09-03-2013, 07:20 AM #6 malayo Member Registered: Dec 2010 Posts: 124 Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc.
A quick run of ldd shows this clearly: [email protected] /tmp/setuptools-1.1.6 $ ldd /usr/local/bin/python2 linux-gate.so.1 (0x777a9000) libpython2.7.so.1.0 => /usr/local/lib/libpython2.7.so.1.0 (0x77610000) libpthread.so.0 => /lib/libpthread.so.0 (0x775ee000) libc.so.6 => /lib/libc.so.6 (0x77464000) libdl.so.2 => /lib/libdl.so.2 (0x77460000) girving added the awaiting response label Jun 8, 2016 tensorflow member keveman commented Jun 13, 2016 @kmuriki Gentle ping. You signed out in another tab or window. GrahamDumpleton commented May 20, 2015 Those benchmarks are principally CPU bound tasks and not representative of most real world applications.
I added: RUN ldconfig -v to my copy. Please let me know if this is still an issue. — You are receiving this because you were mentioned.