Gdb Error While Loading Shared Libraries Libncurses.so.5
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 the top libncurses.so.5 : Error while loading shared libraries up vote 1 down vote favorite I tried to debug a C application with Eclipse using GDB but I got the following error: Error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I tried to install libncurses5 but it's already installed. Should I change the location of this package? any idea? This is what I got after running locate libncurses. # locate libncurses /home/sina/.cache/software-center/rnrclient/reviews.ubuntu.com,reviews,api,1.0,reviews,filter,en,any,any,any,libncurses5-dbg,page,1,helpful,,187a06d92ba0b73dd50444293b7cab16 /home/sina/.cache/software-center/rnrclient/reviews.ubuntu.com,reviews,api,1.0,reviews,filter,en,ubuntu,quantal,any,libncurses5-dbg,page,1,helpful,,e8f56bcf979e4c966af1cf8fcfb46b89 /home/sina/.cache/software-center/rnrclient/reviews.ubuntu.com,reviews,api,1.0,reviews,filter,en,ubuntu,raring,any,libncurses5-dbg,page,1,helpful,,9e8b7962287c629e99b01502879a8f35 /home/sina/Downloads/libncurses5-dbg_5.9+20130608-1ubuntu1_i386.deb /lib/x86_64-linux-gnu/libncurses.so.5 /lib/x86_64-linux-gnu/libncurses.so.5.9 /lib/x
whoop Member Registered: 2009-05-28 Posts: 93 [SOLVED] ncurses, readline update error I get an error with updating today:( 5/184) upgrading ncurses [#####################################] 100% ( 6/184) upgrading readline [#####################################] 100% /usr/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory error: command failed to execute correctlyAny ideas? Last edited by whoop (2015-09-18 00:07:51) Offline #2 2015-09-17 23:53:49 slithery Member http://askubuntu.com/questions/378194/libncurses-so-5-error-while-loading-shared-libraries Registered: 2013-12-01 Posts: 803 Re: [SOLVED] ncurses, readline update error Posting the command you ran and the full output would be a start. aur - dotfiles Offline #3 2015-09-17 23:55:30 jasonwryan Forum & Wiki Admin From: .nz Registered: 2009-05-09 Posts: 19,536 Website Re: [SOLVED] ncurses, readline update error https://bbs.archlinux.org/viewtopic.php?id=202562 https://lists.archlinux.org/pipermail/a … 39844.htmlMoving to NC... Arch + dwm • Mercurial repos • GithubRegistered Linux User #482438 Offline #4 2015-09-18 00:03:52 whoop Member Registered: 2009-05-28 Posts: 93 Re: [SOLVED] ncurses, readline update error slithery wrote:Posting the command you ran and the full output would be a start.pacman -Syu[2015-09-18 01:14] [PACMAN] Running 'pacman -Syu' [2015-09-18 01:14] [PACMAN] synchronizing package lists [2015-09-18 01:14] [PACMAN] starting full system upgrade [2015-09-18 01:15] [ALPM] transaction started [2015-09-18 01:15] [ALPM] upgraded linux-api-headers (4.0-1 -> 4.1.4-1) [2015-09-18 01:15] [ALPM] upgraded tzdata (2015e-1 -> 2015f-1) [2015-09-18 01:15] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew [2015-09-18 01:15] [ALPM] upgraded glibc (2.21-4 -> 2.22-3) [2015-09-18 01:16] [ALPM-SCRIPTLET] Generating locales... [2015-09-18 01:16] [ALPM-SCRIPTLET] en_US.ISO-8859-1... done [2015-09-18 01:16] [ALPM-SCRIPTLET] en_US.UTF-8... done [2015-09-18 01:16] [ALPM-SCRIPTLET] Generation complete. [2015-09-18 01:16] [ALPM] upgraded gcc-libs (5.2.0-1 -> 5.2.0-2) [2015-09-18 01:16] [ALPM] upgraded ncurses (5.9-7 -> 6.0-3) [2015-09-18 01:16] [ALPM] upgraded readline
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 http://stackoverflow.com/questions/17092093/adb-error-while-loading-shared-libraries-libncurses-so-5-cannot-open-shared-o 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; http://stm32reality.blogspot.com/ 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 gdb error 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 gdb error while 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 4821316 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 126k84883 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 Facebook Sign up
5, 2014 if arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory then ln -sf libncursesw.so.5.9 libncurses.so.5 arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64 It means that the 32-bit ABI variant of ncurses library is needed: sudo apt-get install lib32ncurses5 Allow Users Access to USB Devices By default, only the superuser has access to USB devices. Change things so that you have access to the F4 Discovery USB STLINK device: Create a new udev rule in /etc/udev/rules/45-usb-stlink-v2.rules: SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="3748", MODE="0666" CMAKE_FORCE_C_COMPILER(arm-none-eabi-gcc -mtune=cortex-m3 -mcpu=cortex-m3 -march=armv7-m GNU) Posted by Макс Решетников at 7:08 AM No comments: Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Wednesday, September 3, 2014 qstlink2 or stlink on debian wheezy установка тулчейна http://www.wolinlabs.com/blog/linux.stm32.discovery.gcc.html -------------------------- http://www.nis-embedded.com/stm32/setup-environment/make-tools-for-st-link-v2 -------------------------- http://hackaday.com/2011/10/17/how-to-develop-for-stm32-discovery-boards-using-linux/ https://github.com/texane/stlink http://startingelectronics.com/tutorials/STM32-microcontrollers/programming-STM32-flash-in-Linux/ command line stlink! -------------------------- ST-Link V2 (Debugger/Programmer) client for Linux, OSX and Windows: http://code.google.com/p/qstlink2/ forUbuntu/Debian/Mint the packages: https://launchpad.net/~fpoussin/+archive/ubuntu/ppa to download withoutdependencies $ apt-get install -f qstlink2 -------------------------- 1.Downloadlibc6andlibc6-devfrom Ubuntu 12.04 LTS 2.Rundpkgcommand to install them into a directory /home/... $dpkg -x libc6-dev_2.15-0ubuntu10.6_amd64.deb /home/... $dpkg -x libc6_2.15-0ubuntu10.6_amd64.deb /home/... 3.Run your command with specified LD_LIBRARY_PATH:$ LD_LIBRARY_PATH=/home/user/fakeroot/lib/x86_64-linux-gnu/ YOUR_COMMAND found at:http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy -------------------------- Программируем STM32VLDiscovery в Linux'е и только в Linux'е! http://h0rr0rr-drag0n.blogspot.ru/2011/08/stm32vldiscovery-linux-linux.html не читал https://github.com/h0rr0rrdrag0n/stm32vldiscovery-linux-template/tree/master/stlink -------------------------- http://galexander.org/stm32/ STM32 Value Line Discovery experiencesне читал -------------------------- Posted by Макс Решетник