Adb Error Libncurses.so.5
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 adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory up vote 17 down vote favorite 2 I'm having some trouble running a Phonegap imported project on my laptop with Debian. I have already installed eclipse and the plug-in for Android and everything seems to work fine until here. I have added this line to my .bashrc file: export PATH=${PATH}:/home/s/android-sdks/platform-tools/ I choose new Android project from existing file, in Eclipse, and then I load the code of the project. But when I try to execute it, I get this error message: [2013-06-13 18:12:16 - MyProject] Android Launch! [2013-06-13 18:12:16 - MyProject] The connection to adb is down, and a severe error has occured. [2013-06-13 18:12:16 - MyProject] You must restart adb and Eclipse. [2013-06-13 18:12:16 - MyProject] Please ensure that adb is correctly located at '/home/s/android-sdks/platform-tools/adb' and can be executed. If I try to execute the command: adb server-start in the terminal, I get this message: adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory Did I missed something? Adb is right, I do not have the file libncurses.so.5 anywhere on my computer even if I have already installed all the 32-bit compatible libraries (my machine is 64-bit). Thanks in advice for your help! android eclipse cordova adb share|improve this question asked Jun 13 '13 at 16:18 ste 4721316 Try this answer: stackoverflow.com/questions/16841490/… –AlexK Jun 22 '13 at 9:48 add a comment| 1 Answer 1 active oldest votes up vote 77 down vote You need the 32bits version of ncurses package, sudo apt-get install lib32ncurses5 share|improve this answer edited Feb 28 '14 at 4:35 Avinash Raj 126k84782 answered Jul 12 '13 at 14:36 David Parsons 87044 8 Why isn't this accepted? –joneshf Sep 25 '13 at 4:32 Also addresses the same error when running NaCL debugger, nacl-gdb. –JMcF Feb 12 '15 at 7:15 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Face
from GoogleSign inHidden fieldsSearch for groups or messages
Support Search GitHub This repository Watch 101 Star 1,279 Fork 194 platformio/platformio Code Issues 81 Pull requests 1 Projects 0 Pulse Graphs New issue Archlinux: libncurses.so.5: https://github.com/platformio/platformio/issues/291 cannot open shared object file #291 Closed mdaffin opened this Issue Sep http://android.stackexchange.com/questions/41145/regarding-adb-command-error-while-loading-shared-libraries 21, 2015 · 9 comments Projects None yet Labels wontfix Milestone No milestone Assignees valeros 7 participants mdaffin commented Sep 21, 2015 Archlinux is now using ncurses6 which is causing the following error in platformio while trying to upload to the arduino platform: avrdude: error while loading shared libraries: libncurses.so.5: cannot adb error open shared object file: No such file or directory The archlinux version of avrdude works with the quick workaround: rm ~/.platformio/packages/tool-avrdude/avrdude ln -s /usr/bin/avrdude ~/.platformio/packages/tool-avrdude/avrdude However, the tools that platformio downloads should come with the dependencies that they require to run or alternatively make use of the system tools when they are available. ivankravets added the help wanted label Sep 22, 2015 ivankravets self-assigned adb error libncurses.so.5 this Sep 22, 2015 PlatformIO member ivankravets commented Sep 22, 2015 Could you try to install lib32-ncurses package? mdaffin commented Sep 22, 2015 No difference, it is version 6, when then downloaded version is looking for version 5. … On Tue, 22 Sep 2015 08:39 Ivan Kravets ***@***.***> wrote: Could you try to install lib32-ncurses package? — Reply to this email directly or view it on GitHub <#291 (comment)> . ivankravets assigned valeros and unassigned ivankravets Sep 22, 2015 PlatformIO member valeros commented Sep 22, 2015 Hi @james147 Do you have the same issue when you upload sketch through Arduino IDE? mdaffin commented Sep 22, 2015 Not with the one in the Arch User Repo, but it appears to replace the arduino provided avrdude with the working system one: # fix avrdude rm -f "${pkgdir}/usr/share/arduino/hardware/tools/avr/bin/avrdude"{,_bin} ln -s /usr/bin/avrdude "${pkgdir}/usr/share/arduino/hardware/tools/avr/bin/avrdude" https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=arduino So I assume that the official arduino build of avrdude does have the same problem. ❤️ 1 ivankravets added a commit that closed this issue Sep 23, 2015 ivankravets
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 Android Enthusiasts Questions Tags Users Badges Unanswered Ask Question _ Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. 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 top Regarding adb command: Error while loading shared libraries up vote 1 down vote favorite aneesh@nb-14:~$ adb devices adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I would like to understand the error above and correct it. This is just one instance, I get the same error on giving any adb command! Be it push, install, etc. Any help is appreciated! adb android-emulator share|improve this question edited Mar 20 '13 at 21:31 Izzy♦ 63.1k30158450 asked Mar 9 '13 at 13:13 Host-website-on-iPage 3212928 What distribution you are using? You might need to install the libncurses5 package, it looks like. –Izzy♦ Mar 9 '13 at 13:56 It's already installed and is the latest version. Mine is Ubuntu 12.04 64-bit os. –Host-website-on-iPage Mar 9 '13 at 14:29 1 So is mine, and here it works. See PasteBin for details (updated). You probably lack the 32bit support, could that be? –Izzy♦ Mar 9 '13 at 16:45 Thanks to one and all who helped! –Host-website-on-iPage Mar 11 '13 at 13:23 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote accepted While dpkg --add-architecture i386 command is not needed in the current version of Ubuntu (13.10), it is required in the current Debian versions (7.x) and it will be required in the future Ubuntu versions as well. So I am going to leave it in. Just ignore it for Ubuntu 13.10. sudo dpkg --add-architecture i386 sudo apt-get -qqy update sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386 Update: aapt indeed requires zlib so I added it to the list. But you should not be needing any lib32 packages. share|improve this answer edited Jan 14 '14 at 15:55 answ