Adb Error While Loading Shared Libraries 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 error while loading shared libraries: libncurses.so.5: up vote 0 down vote favorite 1 I've installed Android Studio and tried to run my first project in it, and I've got following error: Error Output was: /home/user/android-studio/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I've already tried to run sudo ldconfig but it doesnt help. I've recently installed libncurses (before using android studio). What should I do? linux ubuntu shared-libraries share|improve this question asked Jun 9 '13 at 1:51 pawel 1,40762952 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted If you are absolutely sure that libncurses, aka ncurses, is installed, as in you've done a successful 'ls' of the library, then perhaps you are running a 64 bit Linux operating system and only have the 64 bit libncurses installed, when the program that is running (adb) is 32 bit. If so, a 32 bit program can't link to a 64 bit library (and won't located it anyway), so you might have to install libcurses, or ncurses (32 bit version). Likewise, if you are running a 64 bit adb, perhaps your ncurses is 32 bit (a possible but less likely scenario). share|improve this answer answered Jun 9 '13 at 1:57 Edwin Buck 45.1k15191 You can also check for the library in the LD_LIBRARY_PATH. It is possible that your path isn't set correctly so it isn't finding the library. –Paul Apr 26 at 16:53 add a comment| up vote 8 down vote If libncurses is not installed then install it and try again. sudo apt-get install libncurses5:i386 Also install the collection of librar
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: cannot open shared object file #291 Closed mdaffin opened this Issue Sep 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 http://stackoverflow.com/questions/17005654/error-while-loading-shared-libraries-libncurses-so-5 platformio while trying to upload to the arduino platform: avrdude: error while loading shared libraries: libncurses.so.5: cannot 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 https://github.com/platformio/platformio/issues/291 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 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 "${
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 http://askubuntu.com/questions/143774/android-sdk-having-trouble-with-adb 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 adb error 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 the top Android SDK having trouble with ADB up vote 19 down vote favorite 5 So, I installed the Android SDK, adb error while Eclipse, and the ADT. Upon firing up Eclipse the first time after setting up the ADT, this error popped up: [2012-05-29 12:11:06 - adb] /home/drsmith/Downloads/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-05-29 12:11:06 - adb] 'adb version' failed! /home/drsmith/Downloads/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-05-29 12:11:06 - adb] Failed to parse the output of 'adb version': Standard Output was: Error Output was: /home/drsmith/Downloads/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-05-29 12:11:06 - adb] /home/drsmith/Downloads/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-05-29 12:11:06 - adb] 'adb version' failed! /home/drsmith/Downloads/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-05-29 12:11:06 - adb] Failed to parse the output of 'adb version': Standard Output w