Error Loading Sharing Libraries
Contents |
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 error loading shared libraries file too short About Us Learn more about Stack Overflow the company Business Learn more about error while loading shared libraries ld_library_path hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join error loading message shared library 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 Linux error while loading shared error loading resource library libraries: cannot open shared object file: No such file or directory up vote 143 down vote favorite 54 Program is part of the Xenomai test suite, cross-compiled from Linux PC into Linux+Xenomai ARM toolchain. # echo $LD_LIBRARY_PATH /lib # ls /lib ld-2.3.3.so libdl-2.3.3.so libpthread-0.10.so ld-linux.so.2 libdl.so.2 libpthread.so.0 libc-2.3.3.so libgcc_s.so libpthread_rt.so libc.so.6 libgcc_s.so.1 libstdc++.so.6 libcrypt-2.3.3.so libm-2.3.3.so libstdc++.so.6.0.9 libcrypt.so.1 libm.so.6 # ./clocktest ./clocktest: error while loading shared
Error At Loading Of Ippsp Library
libraries: libpthread_rt.so.1: cannot open shared object file: No such file or directory Edit: OK I didn't notice the .1 at the end was part of the filename. What does that mean anyway? linux shared-libraries file-not-found xenomai share|improve this question edited Jan 26 '09 at 18:22 asked Jan 26 '09 at 18:07 zaratustra 2,17962538 154 This might happen if you have recently installed a shared library and didn't run ldconfig(8) afterwards. Do 'ldconfig', there's no harm in it. –AbiusX Jun 5 '11 at 21:02 14 +1 to @AbiusX comment - running sudo ldconfig (assuming that libraries are in fact where they should be [/usr/bin/lib/, /usr/bin/include/, /usr/local/lib/ and /usr/local/include/ AFAIK], please correct me if I'm wrong) can resolve that problem. Cheers! –AeroCross Nov 16 '11 at 18:11 add a comment| 13 Answers 13 active oldest votes up vote 57 down vote accepted Update While what I write below is true as a general answer about shared libraries, I think the most frequent cause of these sorts of message is because you've installed a package, but not installed the "-dev" version of that package. Well, it's not lying - there is no libpthread_rt.so.1 in that
comes a question from a Windows colleague trying to build software on Linux. He asks "I'm trying to do some web performance testing and I compiled weighttp and the libev libraries, which worked fine,
Error At Loading Of Ippsp Library Gopro
but when I try to run the program it gives me the following error." error loading game library weighttp: error while loading shared libraries: libev.so.4: cannot open shared object file: No such file or directory "I checked /usr/local/lib and the error loading game library draw my thing files are there. Do you have a suggestion?" Ah yes, a classic problem when building software. The problem here is that libev installed itself into /usr/local/lib: $ ls -l /usr/local/lib/libev* -rw-r--r--. 1 root root 435770 http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s Feb 22 15:20 /usr/local/lib/libev.a -rwxr-xr-x. 1 root root 926 Feb 22 15:20 /usr/local/lib/libev.la lrwxrwxrwx. 1 root root 14 Feb 22 15:20 /usr/local/lib/libev.so -> libev.so.4.0.0 lrwxrwxrwx. 1 root root 14 Feb 22 15:20 /usr/local/lib/libev.so.4 -> libev.so.4.0.0 -rwxr-xr-x. 1 root root 174059 Feb 22 15:20 /usr/local/lib/libev.so.4.0.0 …but the dynamic linker doesn't know where they are, because it's never heard of /usr/local/lib. /usr/local is a traditional place for add-on software to install itself, so it https://lonesysadmin.net/2013/02/22/error-while-loading-shared-libraries-cannot-open-shared-object-file/ doesn't interfere with the system libraries. If you're coming from a Windows background the .so files are essentially equal to DLLs, and load when you execute a program that depends on them. Programs that use dynamic libraries have several advantages, in that they're smaller, and the libraries can be updated without having to recompile all the programs that depend on them. So if there's a security problem with libev you can just patch libev, and not have to rebuild everything that uses that library. You can see what libraries a program is dynamically linked to with the ‘ldd' command: $ ldd /usr/local/bin/weighttp linux-vdso.so.1 => (0x00007fff251ff000) libev.so.4 => not found libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8f1cc1e000) libc.so.6 => /lib64/libc.so.6 (0x00007f8f1c88b000) /lib64/ld-linux-x86-64.so.2 (0x00007f8f1ce49000) That confirms we're just dealing with the new library, and not some other problem. Cool. Anyhow, there are five fixes that come to mind, and I'll group them into "terrible ideas" and "decent ideas." Of course, terrible and decent are my opinion, and your situation may dictate a different conclusion, so I'll add some commentary. If you're looking for the quickest way out skip to #5. Suboptimal Fixes/Terrible Ideas[0] 1. Install the libraries to /usr/lib instead of /usr/local/lib. I really don't like this because you're installing add-on software into a system directory, and you mig
on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for Search instead for Did you mean: Welcome Spotify Community Blog Newcomers and Contribution Help Accounts and Subscriptions Desktop (Mac) Desktop (Linux, https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/spotify-error-while-loading-shared-libraries-libgcrypt-so-11/td-p/970485 Windows, Web Player) Android iOS (iPhone, iPad) Other (Partners, Windows Phone, etc. ) Spotify Answers http://unix.stackexchange.com/questions/114275/error-loading-shared-library-libsdl-1-2 Ongoing Issues Social - Off Topic Music Chat Playlist Exchange Music Chat Content Questions Rock Stars Ideas Implemented Ideas Live Ideas Idea Submissions Closed Ideas spotify: error while loading shared libraries: libgcrypt.so.11 Solved! Go to Solution Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top error loading Bookmark Subscribe Printer Friendly Page All Forum Topics Previous Topic Next Topic « Previous 1 2 3 6 Next » spotify: error while loading shared libraries: libgcrypt.so.11 Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content nimblefinger Festival VIP 2014-11-05 01:56 PM $ spotifyspotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory loading shared libraries $ A recent update depends on libgcrypt11 but debian only has libgcrypt20. Is there a solution to this? Or can I revert somehow? I am currently running: debian jessie/sid kernel 3.16-3-amd64 Thank you. Solved! Go to Solution. Labels: Linux Reply 3 Likes 80 people had this problem. 4 ACCEPTED SOLUTIONS Accepted Solutions Re: spotify: error while loading shared libraries: libgcrypt.so.11 Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content hemlock4000 Music Lover 2014-11-08 05:17 PM Thank you for the reply. I came up with a similar solution: I downloaded the libgcrypt11 library for Debian Wheezy and installed it via ~# dpkg -i libgcrypt11_1.5.0-5+deb7u1_amd64.deb Now Spotify works again. However, this should only be treated as a temporary solution, as the upcoming Debian release Jessie will not ship the old version of the library and it generally not a good approach to manually install packages from another (and soon outdated) release. Reply 30 Likes Re: spotify: error while loading shared libraries: libgcrypt.so.11 Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content equaint Music Lover 2015-06-06 08:18 PM The new version mentioned above works great! Thanks, MarcosC for linking the
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 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 how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error loading shared library libSDL-1.2 up vote 1 down vote favorite I've compile ToME 3 game but I can run it, I've got: tome3: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory I have installed libstd1.2 both devel and runtime packages. I have that library $ ls /usr/lib/x86_64-linux-gnu/libSDL* /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4 /usr/lib/x86_64-linux-gnu/libSDL.a /usr/lib/x86_64-linux-gnu/libSDL_image-1.2.so.0 /usr/lib/x86_64-linux-gnu/libSDL_image-1.2.so.0.8.4 /usr/lib/x86_64-linux-gnu/libSDLmain.a /usr/lib/x86_64-linux-gnu/libSDL.so I've try to put /usr/lib/x86_64-linux-gnu/ into PATH and also copy libSDL-1.2.so.0 to the directory where I have the game, but it not work. Someone ask the same question on AskUbuntu the solution was to reinstall the lib but it don't work. ubuntu xubuntu shared-library share|improve this question asked Feb 9 '14 at 0:30 jcubic 1,59031727 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted Run ldd on the game's binary (t-engine) to see what exactly it's looking for and whether it resolves. See the paths that are searched and what is found by using strace -e file t-engine