Home > gdb error > gdb error while loading shared libraries libpython2.6.so.1.0

Gdb Error While Loading Shared Libraries Libpython2.6.so.1.0

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up libpython2.7.so.1.0: cannot open shared object file: No such file or directory up vote 8 down vote favorite 1 I have trying to run python script from the terminal but getting the next error message : ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory if I run print sys.version I get : >>> import sys >>> print sys.version 2.7.3 (default, Feb 26 2013, 16:27:39) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] and if I run ldd /usr/local/bin/python >> ldd /usr/local/bin/python linux-vdso.so.1 => (0x00007fff219ff000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003300c00000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003300800000) libutil.so.1 => /lib64/libutil.so.1 (0x0000003310e00000) libm.so.6 => /lib64/libm.so.6 (0x0000003300000000) libc.so.6 => /lib64/libc.so.6 (0x0000003300400000) /lib64/ld-linux-x86-64.so.2 (0x00000032ffc00000) I don't understand which python do I have ? why running this python script from the terminal is failing ? I have tried to run export LD_LIBRARY_PATH=/usr/local/lib/python2.7/ with no luck... BTW - I have managed to debug this script in eclipse with the python plug-in, and when I look at the debug configuration I see that the PYTHONPATH is set for : /..../eclipse/plugins/org.python.pydev_3.1.0.201312121632/pysrc/pydev_sitecustomize:/..../workspace/style_checker/src:/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg:/usr/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg:/usr/local/lib/python2.7:/usr/local/lib/python2.7/plat-linux2

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 answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 http://stackoverflow.com/questions/20842732/libpython2-7-so-1-0-cannot-open-shared-object-file-no-such-file-or-directory the top libpython2.6.so.1.0 doesn't exist up vote 0 down vote favorite I am trying to run an application called powerpc-eabi-gdb, however, when I start it, I get the following error: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory I tried to install python2.6. apt-get told me to install python-gdbm instead. I tried to install it and it seemed to be installed already. http://askubuntu.com/questions/427884/libpython2-6-so-1-0-doesnt-exist What should I do now? 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 try again.Also ensure that you are using correct architecture.Maybe installing the dbg symbols could help. –Registered User Mar 1 '14 at 11:04 I don't think my powerpc-eabi-gdb accepts those newer Pythons, as it hasn't been updated for a long time. I am 100% sure I am using the correct architecture. 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 –Registered User Mar 1 '14 at 11:07 I'm installing python2.7 right now, hope it will work. –gskartwii Mar 1 '14 at 11:08 Let us know if it works or not –Registered User Mar 1 '14 at 11:10 | show 2 more comments 3 Answers 3 active oldest votes up vote 1 down vote The File you are trying to run is too old, will run only on python2.6 which is not supported anymore. You have following options Try and get newer supported version Use some o

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://unix.stackexchange.com/questions/98179/python-not-recognizing-ld-library-path this site About Us Learn more about Stack Overflow the company Business Learn https://code.google.com/p/android/issues/detail?id=37847 more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's gdb error how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Python not recognizing LD_LIBRARY_PATH? up vote 5 down vote favorite 1 I am trying to install Python2.7 on cr-48 chromebook in developer mode, and face a weird issue that I am having hard time searching for a solution on google. First some background.. gdb error while the root partition is mounted readonly, so I have been installing packages under /usr/local, which is a separate mount point that is writable. There is a way to force root partition itself readwrite (with some minor disadvantages), but I decided not to go that route. I have been downloading archlinux packages and extract them under /usr/local and several of them have been working great so far. I basically extract the .tar.xz file somewhat like this: xz -dc package.tar.xz | sudo tar --strip-components=1 -C /usr/local -xvf - This basically drops the files destined for /usr to be under /usr/local instead. I export /usr/local/lib ahead of /usr/lib under the LD_LIBRARY_PATH, and got several packages to work fine this way. For some reason, python fails to load recognize this, though not completely sure what causes it. After expanding python 2.7 package which I got from archlinux site, I was able to start the python shell fine, and a simple print worked fine. I then tried to install setuptools, so downloaded the source from pypy and tried running sudo /usr/local/python2 setup.py install, but it kept giving me the below error: /usr/local/bin/python2: error while loading shared libraries: libpython2.7.s

37847: NDK gdb binaries require host Linux Python 2.6 libraries 4 people starred this issue and may be notified of changes. Back to list Status: WorkingAsIntended Owner: di...@android.com Closed: Sep 2012 Cc: bcch...@android.com, andrewhs...@google.com Type-Defect Priority-Medium ReportedBy-Developer Sign in to add a comment Project Member Reported by di...@android.com, Sep 25, 2012 I can't start the NDK r8b arm-linux-androideabi-gdb binary on Ubuntu 12.04 / Precise Pangolin, this fails with: /usr/local/google2/digit/repo/clank-m18/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory The problem is that the system only provides libpython2.7.so, and there is no easy way to install 2.6 Note that according to the Ubuntu release notes: "Python 2.6 is no longer available for install" See https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop The bug is to track this. In the meantime, I'll try to manually regenerate the binaries without Python support. Sep 25, 2012 Project Member #1 di...@android.com Humm, forget about this, this is not a problem with the NDK, but with the platform prebuilt binaries for gdb. Everything works with NDK r8b. Sorry about that. Status: WorkingAsIntended Nov 9, 2012 Project Member #2 andrewhs...@google.com https://android-review.googlesource.com/#/c/40611 fixes it, and $AOSP/prebuilts/gcc/{linux-x86,darwin-x86}/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb shell be refreshed too. +bccheng Cc: bcch...@android.com Jun 17, 2013 #3 cyker...@gmail.com Has this bug really been fixed? I downloaded the android_4.1.1_r6 revision in AOSP but checked out the aosp/master branch in repository $AOSP/prebuilts/gcc/{linux-x86,darwin-x86}/arm/arm-l

 

Related content

gdb error 193

Gdb Error p here for a quick overview of relatedl the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Cygwin GDB gives error when trying to start program

gdb error attempt to dereference a generic pointer

Gdb Error Attempt To Dereference A Generic Pointer table id toc tbody tr td div id toctitle Contents div ul li a href Gdb Print Void Pointer a li li a href Gdb Dereference Register a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and relatedl policies of this site About Us Learn more about Stack p h id Gdb Print Void Pointer p Overflow the company Business Learn more about hiring developers or posting ads with us gdb

gdb error attempt dereference generic pointer

Gdb Error Attempt Dereference Generic Pointer p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Attempt to dereference a generic

gdb error accessing memory address invalid argument

Gdb Error Accessing Memory Address Invalid Argument p x User account creation filtered due to spam Bug - relatedl g gdb incorrectly maps variables in fortran common block Summary g gdb incorrectly maps variables in fortran common block Status RESOLVED INVALID Alias None Product gcc Classification Unclassified Component debug show other bugs Version Importance P normal Target Milestone --- Assignee Not yet assigned to anyone URL Keywords Depends on Blocks Reported - - UTC by potterveld Modified - - UTC History CC List user show gcc-bugs See Also Host Target alpha-dec-osf d Build Known to work Known to fail Last

gdb error initializing thread_db library

Gdb Error Initializing Thread db Library table id toc tbody tr td div id toctitle Contents div ul li a href Warning dynamic Section For Is Not At The Expected Address wrong Library Or Version Mismatch a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the p h id Warning dynamic Section For Is Not At The Expected Address wrong Library Or Version Mismatch p workings and policies of this site About Us Learn more about Stack solib-absolute-prefix Overflow the

gdb error in sourced command file

Gdb Error In Sourced Command File p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss relatedl the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb stops in a command

gdb error while loading shared libraries libreadline.so.5

Gdb Error While Loading Shared Libraries Libreadline so p SEGGER US Store The link you are trying to reach is no longer available or is invalid Forum Software Burning Board developed by WoltLab GmbH p p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and relatedl policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow

gdb error 0377

Gdb Error p your question and get tips relatedl solutions from a community of IT Pros process exited with code Developers It's quick easy Problem - program exited with gdb cheat sheet code P n a Seo Jae Ick Hi My name is Seo Jae Ick I have a problem with running a program on Linux RedHat GDB have reported this program exited with code I think this statement comes when explicit call in process exit - - octet - decimal return - in main function any other case exists I have searched exit - in whole codes but not

gdb error detected on stdin

Gdb Error Detected On Stdin p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more relatedl about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb pipe redirection Error gdb Hangup

gdb error creating process 193

Gdb Error Creating Process p here for a quick overview of the site relatedl Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb fails with error when debugging MinGW-compiled

gdb error while loading shared libraries libexpat.so.0

Gdb Error While Loading Shared Libraries Libexpat so p Comments Here again another post about CentOS Today relatedl morning while I was trying to start gdb with default compiler gcc which comes with CentOS - it crashed with following descriptive error gdb error while loading shared libraries libexpat so cannot open shared object file No such file or directory After a min search I found expat rpm for Cent OS from I downloaded and try to install it with rpm -ivh command but it failed because of expact-devel dependancy Then I used command yum install expat- - el i rpm

gdb error while loading shared libraries libexpat.so.1

Gdb Error While Loading Shared Libraries Libexpat so p Search HCL Search Reviews Search ISOs Go to Page LinuxQuestions org Forums Linux Forums Linux - General error while loading shared libraries libexpat so cannot open shared object file User Name relatedl Remember Me Password Linux - General This Linux forum is for general Linux questions and discussion If it is Linux Related and doesn't seem to fit in any other forum then this is the place Notices Welcome to LinuxQuestions org a friendly and active Linux Community You are currently viewing LQ as a guest By joining our community you

gdb error while loading shared libraries libncurses.so.5

Gdb Error While Loading Shared Libraries Libncurses so p communities company blog Stack Exchange Inbox Reputation and Badges relatedl sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question Ask Ubuntu is a question and answer site for Ubuntu users and developers Join them it only

gdb error codes

Gdb Error Codes table id toc tbody tr td div id toctitle Contents div ul li a href Gdb Reload Executable a li li a href Gdb Restart Program a li li a href Gdb Tutorial a li ul td tr tbody table p option g -g -o gdbprog gdbprog cc Load executable into gdb gdb gdbprog GDB is free software and you are welcome to distribute copies of relatedl it under certain conditions type show copying to see the gdb where command conditions There is absolutely no warranty for GDB type show warranty for details GDB p h id

gdb error 5

Gdb Error p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this relatedl site About Us Learn more about Stack Overflow the company Business gdb error creating process error Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation starting debugger failed code blocks Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign