Linux error while loading shared libraries: cannot open shared object file: No such file or directory - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) (https://cdn.sstatic.net/Shared/stacks.css?v=1e9dfb1f6199) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=a669c7cfadad) (Feed for question 'Linux error while loading shared libraries: cannot open shared object file: No such file or directory') (/feeds/question/480764) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (aee6d07441141391fe6ad96b7633a3200573fd62e7394133d3a62840a92f4d0e) (1) (undefined) (2.0) Sign up with Google Sign up with GitHub OR (aee6d07441141391fe6ad96b7633a3200573fd62e7394133d3a62840a92f4d0e) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in X (aee6d07441141391fe6ad96b7633a3200573fd62e7394133d3a62840a92f4d0e) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f480764%2flinux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f480764%2flinux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f480764%2flinux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f480764%2flinux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe firebase azure list multithreading docker vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework api android-studio csv maven linq qt dictionary unit-testing facebook asp.net-core tensorflow apache-spark file swing class unity-game-engine sorting date authentication go symfony opencv t-sql .htaccess matplotlib google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github spring-mvc elasticsearch kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers machine-learning c++11 security google-sheets flask ruby-on-rails-3 google-apps-script nginx templates variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous pdf web-scraping jsp haskell ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation math next.js session hadoop svg intellij-idea curl django-models join laravel-5 winapi url heroku http-redirect rust tomcat google-cloud-firestore inheritance webpack web keras image-processing asp.net-mvc-4 gcc logging dom matrix pyspark swiftui actionscript-3 button post firebase-realtime-database optimization jquery-ui cocoa iis xpath d3.js firefox javafx internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory canvas audio multidimensional-array jsf random cookies vector redux facebook-graph-api input flash xamarin.forms arraylist indexing ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce routes razor awk servlets mod-rewrite azure-devops beautifulsoup iframe docker-compose filter excel-formula aws-lambda design-patterns django-rest-framework text visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox google-chrome-extension ecmascript-6 time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview core-data plsql types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit deep-learning boost import sass memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts apache-spark-sql layout deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins c#-4.0 makefile redis reporting-services jupyter-notebook server merge https unicode reflection google-maps-api-3 twitter oauth-2.0 extjs axios pytorch terminal pip split mysqli cmd encoding django-views netbeans database-design collections hash automation ember.js data-binding build tcp pdo sqlalchemy apache-flex command-line spring-data-jpa printing entity-framework-core concurrency java-8 react-redux jestjs service html-table neo4j ansible lua parameters material-ui visual-studio-2012 module enums promise flexbox outlook webview firebase-authentication web-applications uwp jquery-mobile utf-8 python-requests datatable drop-down-menu colors parallel-processing scroll hive tfs scipy count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts three.js graphql constructor file-io rxjs paypal powerbi discord cassandra socket.io graphics gwt compiler-errors nlp react-router solr url-rewriting backbone.js datatables memory-leaks datagridview oauth drupal oracle11g zend-framework neural-network terraform knockout.js django-forms triggers interface google-api casting angular-material jmeter linked-list proxy path timer django-templates directory orm arduino parse-platform visual-studio-2015 cron windows-phone-7 push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview visual-studio-2013 vbscript gitlab google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 process configuration rspec properties pygame callback combobox windows-phone-8 safari permissions linux-kernel scrapy raspberry-pi scripting emacs clojure scope io x86 compilation mongodb-query responsive-design angularjs-directive nhibernate request bluetooth 3d dns binding reference discord.js expo architecture playframework version-control pyqt azure-functions doctrine-orm package pycharm get sql-server-2012 rubygems f# autocomplete datepicker openssl kendo-ui tree jackson controller yii xamarin.ios nested grep static statistics dockerfile datagrid transactions null active-directory uiviewcontroller phpmyadmin webforms discord.py notifications sas computer-vision duplicates youtube mocking nullpointerexception yaml menu bitmap sum asp.net-mvc-5 electron visual-studio-2008 jsf-2 yii2 time-series android-listview stl css-selectors floating-point stream ant cryptography blazor hashmap character-encoding sdk msbuild google-drive-api asp.net-core-mvc selenium-chromedriver jboss frontend joomla navigation devise anaconda cors background camera binary pyqt5 multiprocessing cuda linq-to-sql iterator onclick ios7 mariadb plotly rabbitmq android-asynctask laravel-4 tabs insert uicollectionview amazon-dynamodb microsoft-graph-api environment-variables android-jetpack-compose linker console xsd coldfusion upload continuous-integration ftp textview opengl-es operating-system localization mockito xml-parsing formatting macros vuejs3 kivy json.net type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext header firebase-cloud-messaging sprite-kit mfc fortran nosql attributes nuxt.js format nestjs jquery-plugins odoo db2 leaflet jenkins-pipeline azure-pipelines event-handling postman flutter-layout annotations julia keyboard textbox arm gulp visual-studio-2017 libgdx xampp synchronization stripe-payments crystal-reports timezone dom-events azure-web-app-service android-emulator swagger sequelize.js wso2 uikit aggregation-framework uiscrollview namespaces jvm chart.js com subprocess webdriver centos geolocation google-sheets-formula widget html5-canvas dialog garbage-collection numbers concatenation sql-update qml windows-10 mapreduce set snowflake-cloud-data-platform smtp ionic2 tuples modal-dialog rotation android-edittext spring-data http-headers doctrine radio-button java-stream nuget grid sonarqube lucene xmlhttprequest internationalization listbox components initialization switch-statement apache-camel google-play boolean serial-port ldap ios5 youtube-api return eclipse-plugin gdb pivot latex frameworks tags containers dataset asp-classic foreign-keys subquery label github-actions copy uinavigationcontroller google-cloud-storage delegates struts2 migration base64 c++17 protractor sql-server-2008-r2 queue find uibutton arguments embedded append composer-php jaxb zip stack cucumber autolayout ide popup entity-framework-6 iteration windows-7 r-markdown airflow vb6 ssl-certificate gmail jqgrid hover g++ udp passwords Next You’ll be prompted to create an account to view your personalized homepage. X (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s) Linux error while loading shared libraries: cannot open shared object file: No such file or directory (/questions/ask) Ask Question (2009-01-26 18:07:57Z) Asked 15 years, 11 months ago Modified (?lastactivity) (2024-09-10 07:25:34Z) 4 months ago (Viewed 2,085,139 times) Viewed 2.1m times This question shows research effort; it is useful and clear (68:3:31e,16:86da621948b5921d,10:1736423926,16:810b0d83091c0ef1,6:480764,0c57b102dc87dea12c80ee896387fee1f73f13e93dad7785fee53d325fbdff1d) 597 (This question does not show any research effort; it is unclear or not useful) (68:3:31e,16:e488d793a44cfa85,10:1736423926,16:566f2dcb6686f38a,6:480764,8ceab84e96ebfb88c2726cad68bb2ad93c8f10c6d37181810257eac07b6890bb) Save this question. (/posts/480764/timeline) Show activity on this post. 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 libraries: libpthread_rt.so.1: cannot open shared object file: No such file or directory Is the .1 at the end part of the filename? What does that mean anyway? (/questions/tagged/linux) (show questions tagged 'linux') linux (/questions/tagged/shared-libraries) (show questions tagged 'shared-libraries') shared-libraries (/questions/tagged/file-not-found) (show questions tagged 'file-not-found') file-not-found (/questions/tagged/xenomai) (show questions tagged 'xenomai') xenomai (/q/480764) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/480764/edit) () Improve this question Follow (68:3:31e,16:1610036688f3952e,10:1736423926,16:c0b07dd504815d8f,6:480764,d67e570900f68c4c07aef66957c6626b116d6fd217b44d708b4d2e2b3ea9d4f7) Follow this question to receive notifications (/posts/480764/revisions) (show all edits to this post) edited (2022-07-04 14:25:42Z) Jul 4, 2022 at 14:25 (/users/4298200/neuron) (Neuron's user avatar) (/users/4298200/neuron) Neuron (reputation score) 5,793 (5 gold badges) 5 5 gold badges (43 silver badges) 43 43 silver badges (62 bronze badges) 62 62 bronze badges asked (2009-01-26 18:07:57Z) Jan 26, 2009 at 18:07 (/users/39702/zaratustra) (zaratustra's user avatar) (/users/39702/zaratustra) zaratustra zaratustra (reputation score) 8,698 (9 gold badges) 9 9 gold badges (38 silver badges) 38 38 silver badges (42 bronze badges) 42 42 bronze badges 8 (number of 'useful comment' votes received) 401 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. – (/users/411582/abiusx) (2,404 reputation) AbiusX Commented (2011-06-05 21:02:08Z, License: CC BY-SA 3.0) Jun 5, 2011 at 21:02 (number of 'useful comment' votes received) 33 +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! – (/users/613997/aerocross) (4,299 reputation) AeroCross Commented (2011-11-16 18:11:34Z, License: CC BY-SA 3.0) Nov 16, 2011 at 18:11 (number of 'useful comment' votes received) 1 @AbiusX I ran sudo ldconfig after compiling my program and it worked. Thanks! (The libraries were in /usr/local/lib.) – (/users/11389293/kleinbottle4) (151 reputation) kleinbottle4 Commented (2021-03-07 10:54:55Z, License: CC BY-SA 4.0) Mar 7, 2021 at 10:54 (number of 'useful comment' votes received) 10 we need an update for this. its posted in 2009 for god sake its still happening – (/users/7639174/greendino) (457 reputation) greendino Commented (2021-07-02 11:37:06Z, License: CC BY-SA 4.0) Jul 2, 2021 at 11:37 (number of 'useful comment' votes received) 1 what "update" do you need? there's three good answers to it, some of which may be applicable depending on your specific issue. – (/users/39702/zaratustra) (8,698 reputation) zaratustra Commented (2023-02-02 13:52:21Z, License: CC BY-SA 4.0) Feb 2, 2023 at 13:52 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) | (Expand to show all comments on this post) Show 3 more comments 20 Answers 20 Sorted by: (/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:00249ee77897f502,10:1736423926,16:5ab7d5498d31a1e4,8:21173918,af0bf340b24d551d6b3414fbaac41d310497f9e4d41d0581651909dd33239e2c) 608 (This answer is not useful) (70:3:31e,16:25ec9d470f92ccb8,10:1736423926,16:2368f62db0402f20,8:21173918,6eeebef31d58e9d217de72c70d100c75f17370cdbb55a9a41d32f1c3ce51aa6f) Save this answer. (Loading when this answer was accepted…) (/posts/21173918/timeline) Show activity on this post. Your library is a dynamic library. You need to tell the operating system where it can locate it at runtime. To do so, we will need to do those easy steps: Find where the library is placed if you don't know it. sudo find / -name the_name_of_the_file.so Check for the existence of the dynamic library path environment variable(LD_LIBRARY_PATH ) echo $LD_LIBRARY_PATH If there is nothing to be displayed, add a default path value (or not if you wish to) LD_LIBRARY_PATH=/usr/local/lib We add the desired path, export it and try the application. Note that the path should be the directory where the path.so.something is. So if path.so.something is in /my_library/path.so.something , it should be: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/my_library/ (https://www.gnu.org/software/gsl/doc/html/usage.html#shared-libraries) Reference to source (/a/21173918) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/21173918/edit) () Improve this answer Follow (70:3:31e,16:1c62b17b9a0c25aa,10:1736423926,16:8724759877ca2adf,8:21173918,7e9f5b36082b75f5051409d1f182748c65ee4238e29b8f380a246885aedebd19) Follow this answer to receive notifications (/posts/21173918/revisions) (show all edits to this post) edited (2023-10-20 20:09:19Z) Oct 20, 2023 at 20:09 (/users/3163618/qwr) (qwr's user avatar) (/users/3163618/qwr) qwr (reputation score 10,784) 10.8k (6 gold badges) 6 6 gold badges (68 silver badges) 68 68 silver badges (114 bronze badges) 114 114 bronze badges answered (2014-01-16 22:07:14Z) Jan 16, 2014 at 22:07 (/users/2658271/xor) (XOR's user avatar) (/users/2658271/xor) XOR XOR (reputation score) 6,524 (2 gold badges) 2 2 gold badges (18 silver badges) 18 18 silver badges (10 bronze badges) 10 10 bronze badges 10 (number of 'useful comment' votes received) 4 The above mentioned answer was very clear, Thanks you first of all. I tried doing this in my Eclipse CDT Project Path (Lubuntu). /Debug$ echo $LD_LIBRARY_PATH /home/akhil/HDE/x86.linux/lib:/home/akhil/HDE/x86.linux/lib.. "/home/akhil/HDE/x86.linux/lib" this is where my libraries are actually available even, but still I get the same error. Any suggestions! – (/users/6235320/nahasapeemapetilon) (50 reputation) nahasapeemapetilon Commented (2016-07-12 11:44:21Z, License: CC BY-SA 3.0) Jul 12, 2016 at 11:44 (this comment was edited 5 times) (number of 'useful comment' votes received) 31 Try a "ldconfig" command after exporting your library. You might need to execute this command as "sudo". – (/users/2658271/xor) (6,524 reputation) XOR Commented (2016-09-26 16:53:40Z, License: CC BY-SA 3.0) Sep 26, 2016 at 16:53 (number of 'useful comment' votes received) 11 I believe LD_LIBRARY_PATH should point to the directory containing path.so.something , not to path.so.something itself. – (/users/974555/gerrit) (26,355 reputation) gerrit Commented (2017-06-23 15:47:43Z, License: CC BY-SA 3.0) Jun 23, 2017 at 15:47 (number of 'useful comment' votes received) 3 This is the right solution for the systems where sudo ldconfig cannot be executed, e.g. supercomputers. – (/users/3393574/herpes-free-engineer) (2,652 reputation) Herpes Free Engineer Commented (2018-04-16 19:22:13Z, License: CC BY-SA 3.0) Apr 16, 2018 at 19:22 (number of 'useful comment' votes received) 5 The export LD_LIBRARY_PATH command is essential so that other programs can read the environment variable. Without it only the shell can see the variable. – (/users/12452330/zenul-abidin) (799 reputation) Zenul_Abidin Commented (2020-02-13 06:05:31Z, License: CC BY-SA 4.0) Feb 13, 2020 at 6:05 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) | (Expand to show all comments on this post) Show 5 more comments This answer is useful (70:3:31e,16:767122760845a516,10:1736423926,16:dd7e12cb835b9473,8:28460293,f4c791007e919e9be44eae67d3613e5a9893b63b73c54a0ded1d5718a05cdf00) 265 (This answer is not useful) (70:3:31e,16:5ae7cb8fe813e978,10:1736423926,16:04d1a50b36046f83,8:28460293,49afaa79311258f2e3bd43b987e7f6d080a5d1911626446c7889457eaf414bf8) Save this answer. (Loading when this answer was accepted…) (/posts/28460293/timeline) Show activity on this post. Here are a few solutions you can try: ldconfig As AbiusX pointed out: If you have just now installed the library, you may simply need to run (http://linux.die.net/man/8/ldconfig) ldconfig . sudo ldconfig ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). Usually your package manager will take care of this when you install a new library, but not always, and it won't hurt to run ldconfig even if that is not your issue. Dev package or wrong version If that doesn't work, I would also check out (https://stackoverflow.com/a/480786/22781) Paul's suggestion and look for a "-dev" version of the library. Many libraries are split into dev and non-dev packages. You can use this command to look for it: apt-cache search This can also help if you simply have the wrong version of the library installed. Some libraries are published in different versions simultaneously, for example, Python. Library location If you are sure that the right package is installed, and ldconfig didn't find it, it may just be in a nonstandard directory. By default, ldconfig looks in /lib , /usr/lib , and directories listed in /etc/ld.so.conf and $LD_LIBRARY_PATH . If your library is somewhere else, you can either add the directory on its own line in /etc/ld.so.conf , append the library's path to $LD_LIBRARY_PATH , or move the library into /usr/lib . Then run ldconfig . To find out where the library is, try this: sudo find / -iname *libraryname*.so* (Replace libraryname with the name of your library) If you go the $LD_LIBRARY_PATH route, you'll want to put that into your ~/.bashrc file so it will run every time you log in: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/library (/a/28460293) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/28460293/edit) () Improve this answer Follow (70:3:31e,16:0d3befe72bc0a1b1,10:1736423926,16:73caf86abbbc64dc,8:28460293,06d124b9599c1b8e29054f23d75cf83462fc8a6ca88feb902dd67fd25fb7c332) Follow this answer to receive notifications (/posts/28460293/revisions) (show all edits to this post) edited (2017-05-23 11:47:31Z) May 23, 2017 at 11:47 (/users/-1/community) (Community's user avatar) (/users/-1/community) Community (Community Bot — not a real person. Replies to this bot are not monitored.) Bot (reputation score) 1 (1 silver badge) 1 1 silver badge answered (2015-02-11 17:11:07Z) Feb 11, 2015 at 17:11 (/users/22781/amo) (amo's user avatar) (/users/22781/amo) amo amo (reputation score) 4,340 (5 gold badges) 5 5 gold badges (32 silver badges) 32 32 silver badges (42 bronze badges) 42 42 bronze badges 7 (number of 'useful comment' votes received) 5 By default, /lib and /usr/lib but not /usr/local/lib? That has thrown me off several times over my career and wasted hours. – (/users/10468/darenw) (16,886 reputation) DarenW Commented (2015-03-15 22:15:00Z, License: CC BY-SA 3.0) Mar 15, 2015 at 22:15 Adding .conf files of my own with the non-standard lib paths I need to /etc/ld.so.conf.d (pointed to by /etc/ld.so.conf ) did the trick. – (/users/2125392/civfan) (15,032 reputation) CivFan Commented (2016-01-27 20:42:57Z, License: CC BY-SA 3.0) Jan 27, 2016 at 20:42 (this comment was edited 2 times) (number of 'useful comment' votes received) 7 +1 for needing to run ldconfig. I wasn't using a package manager. I had to compile from source, so this was necessary. – (/users/257036/jeff) (1,558 reputation) Jeff Commented (2016-12-09 17:06:06Z, License: CC BY-SA 3.0) Dec 9, 2016 at 17:06 Just like @CivFan, I added my own .conf in /etc/ld.so.conf.d . After which I (obviously) had to run ldconfig and it worked. I can feel you @DarenW. Its a pain in the butt – (/users/8801881/hemil) (1,016 reputation) Hemil Commented (2019-09-26 10:37:02Z, License: CC BY-SA 4.0) Sep 26, 2019 at 10:37 (number of 'useful comment' votes received) 3 For anybody concerned: (https://unix.stackexchange.com/a/230954/318461) find -iname ... is the same as -name , but case insensitive. But be wary: it is not part of the standard, so could be absent in the implementation you use. – (/users/4575793/cadoiz) (1,656 reputation) Cadoiz Commented (2021-10-18 10:14:40Z, License: CC BY-SA 4.0) Oct 18, 2021 at 10:14 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) | (Expand to show all comments on this post) Show 2 more comments This answer is useful (68:3:31e,16:fdfc9b7f77bea62c,10:1736423926,16:845182fe8b9edc7d,6:480786,96f544f7077a7409467fa22e22c9d92495bb02f151700cecebab4ef9da45e7ba) 153 (This answer is not useful) (68:3:31e,16:a930ba1bd5f4f2b2,10:1736423926,16:31316ee7426cb32f,6:480786,3e3722d8af0e1e17dcf2bda18221c394a44cafec8fc9a0b6acec4f7a8c3f5bd9) Save this answer. (Loading when this answer was accepted…) (/posts/480786/timeline) Show activity on this post. 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 listing. You probably need to re-configure and re-build it so that it depends on the library you have, or install whatever provides libpthread_rt.so.1 . Generally, the numbers after the .so are version numbers, and you'll often find that they are symlinks to each other, so if you have version 1.1 of libfoo.so, you'll have a real file libfoo.so.1.0, and symlinks foo.so and foo.so.1 pointing to the libfoo.so.1.0. And if you install version 1.1 without removing the other one, you'll have a libfoo.so.1.1, and libfoo.so.1 and libfoo.so will now point to the new one, but any code that requires that exact version can use the libfoo.so.1.0 file. Code that just relies on the version 1 API, but doesn't care if it's 1.0 or 1.1 will specify libfoo.so.1. As (https://stackoverflow.com/users/37020/orip) orip pointed out in the comments, this is explained well (http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html) here . In your case, you might get away with symlinking libpthread_rt.so.1 to libpthread_rt.so . No guarantees that it won't break your code and eat your TV dinners, though. (/a/480786) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/480786/edit) () Improve this answer Follow (68:3:31e,16:0336db5bcbaba02b,10:1736423926,16:000aeba79743f92b,6:480786,1e8e1978c0eaccc03290ba53405ceb577f988a831935cb58b6b3b93b021fc50e) Follow this answer to receive notifications (/posts/480786/revisions) (show all edits to this post) edited (2023-09-07 12:44:09Z) Sep 7, 2023 at 12:44 (/users/8517948/lw001) (LW001's user avatar) (/users/8517948/lw001) LW001 (reputation score) 2,855 (7 gold badges) 7 7 gold badges (32 silver badges) 32 32 silver badges (42 bronze badges) 42 42 bronze badges answered (2009-01-26 18:11:59Z) Jan 26, 2009 at 18:11 (/users/3333/paul-tomblin) (Paul Tomblin's user avatar) (/users/3333/paul-tomblin) Paul Tomblin Paul Tomblin (reputation score 182,638) 183k (59 gold badges) 59 59 gold badges (323 silver badges) 323 323 silver badges (411 bronze badges) 411 411 bronze badges 2 (number of 'useful comment' votes received) 8 ... oh god, the .1 is part of the filename. Any idea what does it mean? – (/users/39702/zaratustra) (8,698 reputation) zaratustra Commented (2009-01-26 18:21:55Z, License: CC BY-SA 2.5) Jan 26, 2009 at 18:21 (number of 'useful comment' votes received) 1 @zaratustra it means version – (/users/3024945/kossak) (1,408 reputation) Kossak Commented (2022-05-06 11:34:54Z, License: CC BY-SA 4.0) May 6, 2022 at 11:34 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:37e6cf3b8382979c,10:1736423926,16:6526c2213c853b66,8:36183669,1e1005bf0983d4e290e9d20b065f6f7b020554fa96768f1d098314c22cd7c2e0) 54 (This answer is not useful) (70:3:31e,16:feb1957bb4fdbed4,10:1736423926,16:c251aee2c85c0c41,8:36183669,b3ad327b08e7a91741db84459e9488961524682783580bea886bc504e2214ff8) Save this answer. (Loading when this answer was accepted…) (/posts/36183669/timeline) Show activity on this post. You need to ensure that you specify the library path during linking when you compile your .c file: gcc -I/usr/local/include xxx.c -o xxx -L/usr/local/lib -Wl,-R/usr/local/lib The -Wl,-R part tells the resulting binary to also look for the library in /usr/local/lib at runtime before trying to use the one in /usr/lib/ . (/a/36183669) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/36183669/edit) () Improve this answer Follow (70:3:31e,16:bb4729b0f338091e,10:1736423926,16:db86611b9db9b34d,8:36183669,113492d603d11280e0b8cf7cb47d140ecb201dbb154bab09b1ba22ab78a20758) Follow this answer to receive notifications (/posts/36183669/revisions) (show all edits to this post) edited (2020-12-18 23:20:05Z) Dec 18, 2020 at 23:20 (/users/14016161/julia) (Julia's user avatar) (/users/14016161/julia) Julia (reputation score) 2,075 (1 gold badge) 1 1 gold badge (10 silver badges) 10 10 silver badges (23 bronze badges) 23 23 bronze badges answered (2016-03-23 16:29:42Z) Mar 23, 2016 at 16:29 (/users/6067258/taochen92) (TaoCHEN92's user avatar) (/users/6067258/taochen92) TaoCHEN92 TaoCHEN92 (reputation score) 583 (4 silver badges) 4 4 silver badges (6 bronze badges) 6 6 bronze badges 3 (number of 'useful comment' votes received) 8 This is the option I was looking for. Perhaps better would be -Wl,-rpath DIR . – (/users/490240/jrw32982) (638 reputation) jrw32982 Commented (2017-03-31 20:14:01Z, License: CC BY-SA 3.0) Mar 31, 2017 at 20:14 (number of 'useful comment' votes received) 1 This is the personal turning point in my programming-enthusiast life. It's awesome. Thank you! – (/users/5052877/max-herrmann) (325 reputation) Max Herrmann Commented (2023-02-16 16:31:23Z, License: CC BY-SA 4.0) Feb 16, 2023 at 16:31 (number of 'useful comment' votes received) 1 This is excatly what I was looking for, thank you! – (/users/3210187/thiago-lages-de-alencar) (621 reputation) Thiago Lages de Alencar Commented (2024-02-07 18:15:33Z, License: CC BY-SA 4.0) Feb 7, 2024 at 18:15 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:b01bac2decb496c4,10:1736423926,16:4a2d2db2829133b6,8:24611607,61356f2ccfcea25b4347af643f646ece73908e93e1f1e5ee8b4abb863c43a522) 35 (This answer is not useful) (70:3:31e,16:75ac47444bebced6,10:1736423926,16:32bb3885b7205e36,8:24611607,aec485be2513d9c93900d65eb71be84d3c3222b72d6e22487505f8452af078fc) Save this answer. (Loading when this answer was accepted…) (/posts/24611607/timeline) Show activity on this post. Try adding LD_LIBRARY_PATH , which indicates search paths, to your ~/.bashrc file LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path_to_your_library It works! (/a/24611607) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/24611607/edit) () Improve this answer Follow (70:3:31e,16:e250d4c467753888,10:1736423926,16:cfbf9aca0cf8ee25,8:24611607,68dd3840f754756c28cf2cc8efc150335af06a465da27bef50602e7659185fa7) Follow this answer to receive notifications (/posts/24611607/revisions) (show all edits to this post) edited (2019-11-14 18:53:19Z) Nov 14, 2019 at 18:53 (/users/4996681/luce) (Luce's user avatar) (/users/4996681/luce) Luce (reputation score) 325 (3 silver badges) 3 3 silver badges (13 bronze badges) 13 13 bronze badges answered (2014-07-07 13:21:29Z) Jul 7, 2014 at 13:21 (/users/3611104/ankit-marothi) (Ankit Marothi's user avatar) (/users/3611104/ankit-marothi) Ankit Marothi Ankit Marothi (reputation score) 1,005 (11 silver badges) 11 11 silver badges (14 bronze badges) 14 14 bronze badges 1 (number of 'useful comment' votes received) 3 After that, the following line should be added to the .bashrc export LD_LIBRARY_PATH – (/users/216652/user216652) (585 reputation) user216652 Commented (2020-09-02 23:28:15Z, License: CC BY-SA 4.0) Sep 2, 2020 at 23:28 (this comment was edited 3 times) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (68:3:31e,16:1b8323d98bac4d74,10:1736423926,16:89fb23839d163c4b,6:482435,ac75812ec61aa5445b6b74e4b0cf1356a5b3fdabd431a9e453f49d5ea84d3d4e) 14 (This answer is not useful) (68:3:31e,16:a4c57439dc4e0e5b,10:1736423926,16:4e41c5b8d2de3670,6:482435,d6b3123c95d3975e49b097057da83f1db3954fb32d006bbecf331a207bfb507e) Save this answer. (Loading when this answer was accepted…) (/posts/482435/timeline) Show activity on this post. The (https://www.linux.org/threads/linux-reference-page.8216/) linux.org reference page explains the mechanics, but doesn't explain any of the motivation behind it :-( For that, see (http://download.oracle.com/docs/cd/E19253-01/817-1984/) Sun Linker and Libraries Guide In addition, note that "external versioning" is largely obsolete on Linux, because symbol versioning (a GNU extension) allows you to have multiple incompatible versions of the same function to be present in a single library. This extension allowed glibc to have the same external version: libc.so.6 for the last 10 years. (/a/482435) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/482435/edit) () Improve this answer Follow (68:3:31e,16:97addb9169cea564,10:1736423926,16:5d450971ebc68288,6:482435,5f3f684799057ed84285b8f02250a5fbf863ebd812216529d4954d25facf720c) Follow this answer to receive notifications (/posts/482435/revisions) (show all edits to this post) edited (2021-10-18 14:35:00Z) Oct 18, 2021 at 14:35 (/users/4575793/cadoiz) (Cadoiz's user avatar) (/users/4575793/cadoiz) Cadoiz (reputation score) 1,656 (1 gold badge) 1 1 gold badge (24 silver badges) 24 24 silver badges (33 bronze badges) 33 33 bronze badges answered (2009-01-27 06:01:39Z) Jan 27, 2009 at 6:01 (/users/50617/employed-russian) (Employed Russian's user avatar) (/users/50617/employed-russian) Employed Russian Employed Russian (reputation score 212,860) 213k (36 gold badges) 36 36 gold badges (318 silver badges) 318 318 silver badges (384 bronze badges) 384 384 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:35f2d9df9948d8dc,10:1736423926,16:7275f43b9a4dbd49,8:68071002,59b142b5aeb87cf349aa2a3f5166bb4e889f217b30dcf477c166ada5ef6ba5de) 9 (This answer is not useful) (70:3:31e,16:8792975810efb10e,10:1736423926,16:98d9b6d155fef85c,8:68071002,70fed7554dec0704fa2cc80967e87d6fd9d40a737d6c13609c38c33c1482eabb) Save this answer. (Loading when this answer was accepted…) (/posts/68071002/timeline) Show activity on this post. Wanted to add, if your libraries are in a non standard path, run ldconfig followed by the path. For instance I had to run: sudo ldconfig /opt/intel/oneapi/mkl/2021.2.0/lib/intel64 to make R compile against Intel MKL (/a/68071002) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/68071002/edit) () Improve this answer Follow (70:3:31e,16:d1b555106616e8eb,10:1736423926,16:7aa6036fe550c677,8:68071002,9cd2eb30fa9d4e5737f52b66366af9d8169d046691fb0f380c1f618a0992d3ff) Follow this answer to receive notifications (/posts/68071002/revisions) (show all edits to this post) edited (2021-10-21 14:29:15Z) Oct 21, 2021 at 14:29 (/users/4575793/cadoiz) (Cadoiz's user avatar) (/users/4575793/cadoiz) Cadoiz (reputation score) 1,656 (1 gold badge) 1 1 gold badge (24 silver badges) 24 24 silver badges (33 bronze badges) 33 33 bronze badges answered (2021-06-21 15:51:01Z) Jun 21, 2021 at 15:51 (/users/1719931/robertspierre) (robertspierre's user avatar) (/users/1719931/robertspierre) robertspierre robertspierre (reputation score) 4,181 (3 gold badges) 3 3 gold badges (40 silver badges) 40 40 silver badges (59 bronze badges) 59 59 bronze badges 1 (number of 'useful comment' votes received) 1 sudo ldconfig worked for me. Thanks. – (/users/10364693/maf) (728 reputation) Maf Commented (2023-07-18 06:21:10Z, License: CC BY-SA 4.0) Jul 18, 2023 at 6:21 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:37060b78a801ef4d,10:1736423926,16:52810d2570ec7193,8:37950998,575b0ef51d8a96920e7cc85e0488e89f166e34135572d30af41287ab004a3683) 8 (This answer is not useful) (70:3:31e,16:49942005c88b8556,10:1736423926,16:60288dc754196a27,8:37950998,e1f9b15cb65325c631494e030a9bfc4b9095ee1a59bb4896324d6cf678dafa10) Save this answer. (Loading when this answer was accepted…) (/posts/37950998/timeline) Show activity on this post. cd /home// sudo vi .bash_profile add these lines at the end LD_LIBRARY_PATH=/usr/local/lib: export LD_LIBRARY_PATH (/a/37950998) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/37950998/edit) () Improve this answer Follow (70:3:31e,16:4d2129a34479e5e8,10:1736423926,16:dda910ba73287871,8:37950998,3fb27ffc3f1f246b0d7f7176773d183ce118bdaebbf69b8c798397da810690a0) Follow this answer to receive notifications (/posts/37950998/revisions) (show all edits to this post) edited (2017-10-29 18:54:53Z) Oct 29, 2017 at 18:54 (/users/-1/community) (Community's user avatar) (/users/-1/community) Community (Community Bot — not a real person. Replies to this bot are not monitored.) Bot (reputation score) 1 (1 silver badge) 1 1 silver badge answered (2016-06-21 17:36:15Z) Jun 21, 2016 at 17:36 (/users/2194330/singingsingh) (singingsingh's user avatar) (/users/2194330/singingsingh) singingsingh singingsingh (reputation score) 1,434 (15 silver badges) 15 15 silver badges (16 bronze badges) 16 16 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:273e6a9bb9005c3f,10:1736423926,16:25230cc2170396b2,8:32597552,daf24c129278c1cc337fe53aa4b113e34b9616b48b60ceb2a8cd9539a2919972) 7 (This answer is not useful) (70:3:31e,16:3645eace5e93bbb2,10:1736423926,16:ae0eb26e4344ec75,8:32597552,e7f3530821c0a10c18701c8273192ae4ed29448ec8aa402ed12a610bbde5b8c2) Save this answer. (Loading when this answer was accepted…) (/posts/32597552/timeline) Show activity on this post. Another possible solution depending on your situation. If you know that libpthread_rt.so.1 is the same as libpthread_rt.so then you can create a symlink by: ln -s /lib/libpthread_rt.so /lib/libpthread_rt.so.1 Then ls -l /lib should now show the symlink and what it points to. (/a/32597552) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/32597552/edit) () Improve this answer Follow (70:3:31e,16:11b1e311dc4f3015,10:1736423926,16:90e90fb58a50717e,8:32597552,603371fd1919ebcd0f9825577f2875a3cf790a514a080fd6e02a3e2af10fa4c5) Follow this answer to receive notifications (/posts/32597552/revisions) (show all edits to this post) edited (2015-10-06 05:00:58Z) Oct 6, 2015 at 5:00 answered (2015-09-15 23:58:54Z) Sep 15, 2015 at 23:58 (/users/3063789/alm865) (ALM865's user avatar) (/users/3063789/alm865) ALM865 ALM865 (reputation score) 1,128 (14 silver badges) 14 14 silver badges (21 bronze badges) 21 21 bronze badges 2 Could this be done for different version? In my case, I have libnsl.so.2, but my command is looking for libnsl.so.1. – (/users/10575381/nathan-russell) (85 reputation) Nathan Russell Commented (2023-02-28 16:42:23Z, License: CC BY-SA 4.0) Feb 28, 2023 at 16:42 To add to this answer, you can see which directories the linker is looking for the libraries in with ld --verbose | grep SEARCH_DIR and check for such near-matches. In my case, I had a problem where I had a libgcr-4.so.4.0.0 in /usr/lib but no libgcr-4.so.4 , so all I had to do was create a symlink like this answer says and it fixed it. – (/users/14587004/eric-pedley) (203 reputation) Eric Pedley Commented (2023-05-18 00:13:26Z, License: CC BY-SA 4.0) May 18, 2023 at 0:13 (this comment was edited 1 time) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:68da07286b1e3e18,10:1736423926,16:b763fe93dec02a61,8:48073168,0b580cd9da5fa5bd0a84addfd6d2ef9120c9d38cd27707e88481cb8688436b7c) 6 (This answer is not useful) (70:3:31e,16:9f21d345e030cc4c,10:1736423926,16:91766b5ece51a3bd,8:48073168,79f5e8ed33b24c48e0559aae73fbad46b048c994ec0f418da27fe56c26641f37) Save this answer. (Loading when this answer was accepted…) (/posts/48073168/timeline) Show activity on this post. I had a similar error and it didn't fix with giving LD_LIBRARY_PATH in ~/.bashrc . What solved my issue is by adding .conf file and loading it. Go to terminal an be in su. gedit /etc/ld.so.conf.d/myapp.conf Add your library path in this file and save.(eg: /usr/local/lib). You must run the following command to activate path: ldconfig Verify Your New Library Path: ldconfig -v | less If this shows your library files, then you are good to go. (/a/48073168) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/48073168/edit) () Improve this answer Follow (70:3:31e,16:0ade5481cc7b59df,10:1736423926,16:124facc31fec678b,8:48073168,e8ebf26a9b3d2f56fed058c52ea74a79a2a216574c743e408b4a32774da3e0f9) Follow this answer to receive notifications answered (2018-01-03 07:44:30Z) Jan 3, 2018 at 7:44 (/users/8718951/anand-paul) (Anand Paul's user avatar) (/users/8718951/anand-paul) Anand Paul Anand Paul (reputation score) 242 (2 silver badges) 2 2 silver badges (10 bronze badges) 10 10 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:3efae4bfcb61b2b5,10:1736423926,16:dc4859f704a609aa,8:47039685,e9b5d951a69c824db383cbccfc959ccaf2e3e2717988beeb25c6df6cdaea1239) 4 (This answer is not useful) (70:3:31e,16:e0fcc9b7ca48c354,10:1736423926,16:c1fa17b5e4b5fb86,8:47039685,fcefda07faf4ae0eb221f749d7423ef5f708666fe8bcdd5a6a84aba6a31e6af7) Save this answer. (Loading when this answer was accepted…) (/posts/47039685/timeline) Show activity on this post. I had this error when running my application with Eclipse CDT on Linux x86.To fix this: In Eclipse: Run as -> Run configurations -> Environment Set the path LD_LIBRARY_PATH=/my_lib_directory_path (/a/47039685) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/47039685/edit) () Improve this answer Follow (70:3:31e,16:89316094638e4e63,10:1736423926,16:852986202c6a526e,8:47039685,02d2f49db23205611e8024622573af369e1ae1946eb2038dfe41429a1978245d) Follow this answer to receive notifications (/posts/47039685/revisions) (show all edits to this post) edited (2018-11-07 20:17:02Z) Nov 7, 2018 at 20:17 (/users/1305969/zx485) (zx485's user avatar) (/users/1305969/zx485) zx485 (reputation score 29,002) 29k (28 gold badges) 28 28 gold badges (52 silver badges) 52 52 silver badges (63 bronze badges) 63 63 bronze badges answered (2017-10-31 16:01:12Z) Oct 31, 2017 at 16:01 (/users/1283704/michael-fayad) (Michael Fayad's user avatar) (/users/1283704/michael-fayad) Michael Fayad Michael Fayad (reputation score) 1,326 (1 gold badge) 1 1 gold badge (18 silver badges) 18 18 silver badges (38 bronze badges) 38 38 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:220654a0e7c33a09,10:1736423926,16:d0d3fb04838967a7,8:35669826,e962a53a81d2d2015ca9a16201afcc0f3afc3941641eea736d998a0f8403f9df) 3 (This answer is not useful) (70:3:31e,16:befae396967c2f7f,10:1736423926,16:60a45c3d5b14f0e9,8:35669826,6afb858f5cc5d67de4fb9f0df61067f7b150420b8a4c95dd859be70de87fbf06) Save this answer. (Loading when this answer was accepted…) (/posts/35669826/timeline) Show activity on this post. If you are running your application on Microsoft Windows, the path to dynamic libraries (.dll ) need to be defined in the PATH environment variable. If you are running your application on UNIX, the path to your dynamic libraries (.so ) need to be defined in the LD_LIBRARY_PATH environment variable. (/a/35669826) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/35669826/edit) () Improve this answer Follow (70:3:31e,16:4ad4fabd5067c998,10:1736423926,16:2c509461aab42b78,8:35669826,3772bba0c2f0f570ca4dbb69d8c2b550646a6d4b9153bacc757b67b111ad7c01) Follow this answer to receive notifications (/posts/35669826/revisions) (show all edits to this post) edited (2021-10-19 03:57:46Z) Oct 19, 2021 at 3:57 (/users/16958560/bazer-con) (Bazer Con's user avatar) (/users/16958560/bazer-con) Bazer Con (reputation score) 105 (4 bronze badges) 4 4 bronze badges answered (2016-02-27 12:33:35Z) Feb 27, 2016 at 12:33 (/users/3927452/rubens-gomes) (Rubens Gomes's user avatar) (/users/3927452/rubens-gomes) Rubens Gomes Rubens Gomes (reputation score) 482 (5 silver badges) 5 5 silver badges (10 bronze badges) 10 10 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:dfef551d814ed280,10:1736423926,16:dc6cc7d2bc11a63e,8:50934236,9947716d65811754c031970892e03603f1242c55ef0e55394edd11cd29781d8d) 2 (This answer is not useful) (70:3:31e,16:a7ea88d76d8fce1d,10:1736423926,16:f9a8fa2cda6ab508,8:50934236,f5a648a6badb0b1907cecb240d7e01def1ffbbd151e2c591d6956e0c74832131) Save this answer. (Loading when this answer was accepted…) (/posts/50934236/timeline) Show activity on this post. I got this error and I think its the same reason of yours error while loading shared libraries: libnw.so: cannot open shared object file: No such file or directory Try this. Fix permissions on files: cd /opt/Popcorn (or wherever it is) chmod -R 555 * (755 if not ok) (/a/50934236) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/50934236/edit) () Improve this answer Follow (70:3:31e,16:7a576a13a4ed5a1a,10:1736423926,16:04a3fd211396e611,8:50934236,388a54bfa673cbbe948777ee459f6a0dec1bb155a7e780c29b8efafba3b060d0) Follow this answer to receive notifications (/posts/50934236/revisions) (show all edits to this post) edited (2018-06-19 18:02:54Z) Jun 19, 2018 at 18:02 (/users/5468463/vega) (Vega's user avatar) (/users/5468463/vega) Vega (reputation score 28,661) 28.7k (28 gold badges) 28 28 gold badges (120 silver badges) 120 120 silver badges (145 bronze badges) 145 145 bronze badges answered (2018-06-19 17:47:49Z) Jun 19, 2018 at 17:47 (/users/2897018/salmi-ahmed) (Salmi Ahmed's user avatar) (/users/2897018/salmi-ahmed) Salmi Ahmed Salmi Ahmed (reputation score) 21 (3 bronze badges) 3 3 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:f77a1374a0196922,10:1736423926,16:ea3a73b92362889d,8:20974303,9e5609b56e428399659a9520aaecaf46e3fe53df8a10e7a010164a4220af3f75) 2 (This answer is not useful) (70:3:31e,16:48b78ad7f9cf8db3,10:1736423926,16:99d869f5d547896a,8:20974303,742738924a66ded828f9a7c8022f6aa80d2d8e525fb709ec57b8ea6dbee1b711) Save this answer. (Loading when this answer was accepted…) (/posts/20974303/timeline) Show activity on this post. Try to install lib32z1 : sudo apt-get install lib32z1 (/a/20974303) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/20974303/edit) () Improve this answer Follow (70:3:31e,16:bc4855cef4b0ca86,10:1736423926,16:890b55432699fb19,8:20974303,bbe6a88078a05862f696aa17c4ee353fc6572d889c268bd675457950d8162ead) Follow this answer to receive notifications (/posts/20974303/revisions) (show all edits to this post) edited (2021-09-23 23:07:33Z) Sep 23, 2021 at 23:07 (/users/6630084/victor) (Victor's user avatar) (/users/6630084/victor) Victor (reputation score) 8,862 (5 gold badges) 5 5 gold badges (17 silver badges) 17 17 silver badges (36 bronze badges) 36 36 bronze badges answered (2014-01-07 14:34:16Z) Jan 7, 2014 at 14:34 (/users/1057504/zajac-m2) (zajac.m2's user avatar) (/users/1057504/zajac-m2) zajac.m2 zajac.m2 (reputation score) 1,238 (14 silver badges) 14 14 silver badges (15 bronze badges) 15 15 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:145807c03477c4b6,10:1736423926,16:f1a8c11b625a2e13,8:62157421,adbb9bb69b90f2f2cccd879c51fb0d022db0501a88eb9a2bbf8a111f386174eb) 2 (This answer is not useful) (70:3:31e,16:932620f4be885d11,10:1736423926,16:9d426e3fe8ab2237,8:62157421,5ee5854fc69ef01478850973ab787c50e70c9b68276362ae688eee4474862b90) Save this answer. (Loading when this answer was accepted…) (/posts/62157421/timeline) Show activity on this post. I use Ubuntu 18.04 Installing the corresponding -dev package worked for me, sudo apt install libgconf2-dev Before installing the above package, I was getting the below error: turtl: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory (/a/62157421) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/62157421/edit) () Improve this answer Follow (70:3:31e,16:1a09727537d76589,10:1736423926,16:0f73ed3ae0edb594,8:62157421,39d95f83eb8832d592797052fdcf833024b6e891fad13d5a7446eb33aec40485) Follow this answer to receive notifications (/posts/62157421/revisions) (show all edits to this post) edited (2021-10-20 23:22:39Z) Oct 20, 2021 at 23:22 (/users/16958560/bazer-con) (Bazer Con's user avatar) (/users/16958560/bazer-con) Bazer Con (reputation score) 105 (4 bronze badges) 4 4 bronze badges answered (2020-06-02 17:06:48Z) Jun 2, 2020 at 17:06 (/users/758673/prabhugs) (prabhugs's user avatar) (/users/758673/prabhugs) prabhugs prabhugs (reputation score) 742 (8 silver badges) 8 8 silver badges (20 bronze badges) 20 20 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:3c4bb0609cca8f0e,10:1736423926,16:b45a02988d4f537a,8:29078600,a77dbf39cbcc9f43327e7f432698146b99ac2ea7edbe7f79bf39504247047398) 1 (This answer is not useful) (70:3:31e,16:60149437bc9f4875,10:1736423926,16:ab6c58b2b7e417e5,8:29078600,97376d6afc052dca927e50e3e2ec1091e560e95ca83459ad5df48212c6e911bb) Save this answer. (Loading when this answer was accepted…) (/posts/29078600/timeline) Show activity on this post. All I had to do was run: sudo apt-get install libfontconfig1 I was in the folder located at /usr/lib/x86_64-linux-gnu and it worked perfectly. (/a/29078600) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/29078600/edit) () Improve this answer Follow (70:3:31e,16:2a11741ff0606bb8,10:1736423926,16:b281528c35473755,8:29078600,84e3c3a0c8a521632404795473620b011ffe368b37c56579af3ef1ebc7bf69cc) Follow this answer to receive notifications answered (2015-03-16 13:56:39Z) Mar 16, 2015 at 13:56 (/users/4070218/jonny) (jonny's user avatar) (/users/4070218/jonny) jonny jonny (reputation score) 3,088 (1 gold badge) 1 1 gold badge (20 silver badges) 20 20 silver badges (34 bronze badges) 34 34 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:e76d5ed173256d5f,10:1736423926,16:b5e0b10dd21d604a,8:33514407,4186aa76ab040163955887883d2d05b0ae7aa8499b67d59796462334f7ed9092) 1 (This answer is not useful) (70:3:31e,16:d916fc926dd8731b,10:1736423926,16:9b9458f82e3f993d,8:33514407,16dfcc948d167ac058d9171b4bb9c5f92dd80b3aca5184164ccb9bc7f1271983) Save this answer. (Loading when this answer was accepted…) (/posts/33514407/timeline) Show activity on this post. The error occurs as the system cannot refer to the library file mentioned. Take the following steps: Running locate libpthread_rt.so.1 will list the path of all the files with that name. Let's suppose a path is /home/user/loc . Copy the path and run cd home/USERNAME . Replace USERNAME with the name of the current active user with which you want to run the file. Run vi .bash_profile and at the end of the LD_LIBRARY_PATH parameter, just before . , add the line /lib://home/usr/loc:. . Save the file. Close terminal and restart the application. It should run. (/a/33514407) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/33514407/edit) () Improve this answer Follow (70:3:31e,16:da672855967945ea,10:1736423926,16:2bee9ca5cacaeb3f,8:33514407,6816ee726e89ed2ba32eb82ea06d751adb9b4480db1895b7663ea13937ac4241) Follow this answer to receive notifications (/posts/33514407/revisions) (show all edits to this post) edited (2018-06-19 17:45:29Z) Jun 19, 2018 at 17:45 (/users/9481500/stypox) (Stypox's user avatar) (/users/9481500/stypox) Stypox (reputation score) 1,198 (14 silver badges) 14 14 silver badges (19 bronze badges) 19 19 bronze badges answered (2015-11-04 05:34:39Z) Nov 4, 2015 at 5:34 (/users/5523161/vipin-nair) (vipin nair's user avatar) (/users/5523161/vipin-nair) vipin nair vipin nair (reputation score) 11 (1 bronze badge) 1 1 bronze badge (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:e7032203ae998bce,10:1736423926,16:585229297fdbb2c7,8:49705922,b108ac3cc88ff172dc501db5daf38f5f425abc8c83736695e14b784d270eced4) 0 (This answer is not useful) (70:3:31e,16:60f6365c96d8a4a6,10:1736423926,16:670f06f944e8d11d,8:49705922,f0b0ca239a78b2b81d17002f900a1d64389d7abeb665600632818c8a643d9fcb) Save this answer. (Loading when this answer was accepted…) (/posts/49705922/timeline) Show activity on this post. I got this error and I think its the same reason of yours error while loading shared libraries: libnw.so: cannot open shared object file: No such file or directory Try this. Fix permissions on files: sudo su cd /opt/Popcorn (or wherever it is) chmod -R 555 * (755 if not ok) chown -R root:root * (/a/49705922) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/49705922/edit) () Improve this answer Follow (70:3:31e,16:ea77386ce5d86686,10:1736423926,16:613b0e408ff3d95a,8:49705922,cbfff441b8dba983b35a749e0c174ea9481a613c5448ab1bce75745df392a081) Follow this answer to receive notifications (/posts/49705922/revisions) (show all edits to this post) edited (2021-10-18 11:22:31Z) Oct 18, 2021 at 11:22 answered (2018-04-07 09:36:02Z) Apr 7, 2018 at 9:36 (/users/7807287/mohamad-osama) (Mohamad Osama's user avatar) (/users/7807287/mohamad-osama) Mohamad Osama Mohamad Osama (reputation score) 998 (10 silver badges) 10 10 silver badges (10 bronze badges) 10 10 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:2d72f4c9fef13f1e,10:1736423926,16:0676ef3aecb1a216,8:56962132,5823451fc9e0c343ea87c1196def5ef9ea34ba75c2b41ffaa0d1f567449ad93e) 0 (This answer is not useful) (70:3:31e,16:855d00a5d57ab0c8,10:1736423926,16:850b7f42185cfbb1,8:56962132,4b820da5a0ec91176f8a6b6e44d1951eee4b09559de40349689de201e3c0762b) Save this answer. (Loading when this answer was accepted…) (/posts/56962132/timeline) Show activity on this post. A similar problem can be found (https://bugzilla.redhat.com/show_bug.cgi?id=1456202) here . I've tried the mentioned solution and it actually works. The solutions in the previous questions may work. But the following is an easy way to fix it. It works by reinstalling the package libwbclient in fedora: dnf reinstall libwbclient (/a/56962132) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/56962132/edit) () Improve this answer Follow (70:3:31e,16:ab393fa826d6b5b7,10:1736423926,16:60f8459a4cf7d423,8:56962132,b6210bc99a236130f671a547410265be044b15bd410156fc2478fcfb5e119eef) Follow this answer to receive notifications (/posts/56962132/revisions) (show all edits to this post) edited (2021-10-19 11:41:22Z) Oct 19, 2021 at 11:41 (/users/3002121/denis) (Denis's user avatar) (/users/3002121/denis) Denis (reputation score) 2,314 (3 gold badges) 3 3 gold badges (24 silver badges) 24 24 silver badges (24 bronze badges) 24 24 bronze badges answered (2019-07-10 00:55:51Z) Jul 10, 2019 at 0:55 (/users/9837175/mohamedamin-samet) (MohamedAmin Samet's user avatar) (/users/9837175/mohamedamin-samet) MohamedAmin Samet MohamedAmin Samet (reputation score) 144 (1 gold badge) 1 1 gold badge (1 silver badge) 1 1 silver badge (10 bronze badges) 10 10 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:6e8defbb6590ae05,10:1736423926,16:dd22855abbf82964,8:78968340,45108b982306ed672651874ea46d9510c9637b41ec8cc8d64b7fd6e9c286e17c) 0 (This answer is not useful) (70:3:31e,16:c55316af9cdea2c5,10:1736423926,16:49dcd99d63e66f21,8:78968340,5374f0c295f859af9c29982a53beee5aa039d75be200201844d6247837f5f075) Save this answer. (Loading when this answer was accepted…) (/posts/78968340/timeline) Show activity on this post. Reason/Solution Apparmor:In newer Debian version (I think >= Debian11) apparmor is configured when installing clamav from the debian repo. If clamav is not completely uninstalled before reinstalling from e.g. (https://www.clamav.net/downloads) clamav deb package , or anything is changed in the configuration (e.g. clamav definition path) it has to be also adjusted in /etc/apparmor.d/usr.sbin.clamd (afterwards: systemctl reload apparmor ) A weak but instant workaround would be to add flags to relax apparmor, so it logs and complains about access to non-regular places, but won't fail hard: /usr/local/sbin/clamd flags=(complain,attach_disconnected){ ... tldr I had this problem in 2024 with clamav: /usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.11: cannot open shared object file: No such file or directory Although the permissions in /usr/local/lib where correct, strace /usr/local/sbin/clamd showed: openat(AT_FDCWD, "/usr/local/lib/libclamav.so.11", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied) (/a/78968340) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/78968340/edit) () Improve this answer Follow (70:3:31e,16:bc2fe02527fe39e7,10:1736423926,16:0bdca25082326d2e,8:78968340,e922b8662bf86162b750d56e8bfcced6c670ff885d5520ffade6069028b040d6) Follow this answer to receive notifications answered (2024-09-10 07:25:34Z) Sep 10, 2024 at 7:25 (/users/4940240/macmartin) (MacMartin's user avatar) (/users/4940240/macmartin) MacMartin MacMartin (reputation score) 2,846 (1 gold badge) 1 1 gold badge (28 silver badges) 28 28 silver badges (30 bronze badges) 30 30 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (/help/privileges/protect-questions) Highly active question . Earn 10 reputation (not counting the (https://meta.stackexchange.com/questions/141648/what-is-the-association-bonus-and-how-does-it-work) association bonus ) in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity. Not the answer you're looking for? Browse other questions tagged (/questions/tagged/linux) (show questions tagged 'linux') linux (/questions/tagged/shared-libraries) (show questions tagged 'shared-libraries') shared-libraries (/questions/tagged/file-not-found) (show questions tagged 'file-not-found') file-not-found (/questions/tagged/xenomai) (show questions tagged 'xenomai') xenomai or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2025/01/07/wbit-2-memories-of-persistence-and-the-state-of-state/?cb=1) WBIT #2: Memories of persistence and the state of state (https://stackoverflow.blog/2025/01/08/failing-fast-at-scale-rapid-prototyping-at-intuit/?cb=1) Failing fast at scale: Rapid prototyping at Intuit Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/404724/the-december-2024-community-asks-sprint-has-been-moved-to-march-2025-and-length?cb=1) (The December 2024 Community Asks Sprint has been moved to March 2025 (and lengthened to 2 weeks to compensate)) The December 2024 Community Asks Sprint has been moved to March 2025 (and... (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/432459/voting-experiment-to-encourage-people-who-rarely-vote-to-upvote?cb=1) Voting experiment to encourage people who rarely vote to upvote Linked (https://stackoverflow.com/q/71077251?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/71077251/libosgviewer-so-202-cannot-open-shared-object-file-no-such-file-or-directory?noredirect=1&lq=1) libosgViewer.so.202: cannot open shared object file: No such file or directory (https://stackoverflow.com/q/63555182?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/63555182/python2-7-paramiko-remote-running-of-script?noredirect=1&lq=1) python2.7 paramiko - remote running of script (https://stackoverflow.com/q/22222666?lq=1) (Question score (upvotes - downvotes)) 23 (https://stackoverflow.com/questions/22222666/error-while-loading-shared-libraries-libgsl-so-0-cannot-open-shared-object-fil?noredirect=1&lq=1) error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory (https://stackoverflow.com/q/4514997?lq=1) (Question score (upvotes - downvotes)) 22 (https://stackoverflow.com/questions/4514997/error-loading-shared-libraries?noredirect=1&lq=1) Error loading shared libraries (https://stackoverflow.com/q/25549536?lq=1) (Question score (upvotes - downvotes)) 23 (https://stackoverflow.com/questions/25549536/error-while-loading-shared-libraries-libpng16?noredirect=1&lq=1) error while loading shared libraries libpng16 (https://stackoverflow.com/q/14769599?lq=1) (Question score (upvotes - downvotes)) 18 (https://stackoverflow.com/questions/14769599/mpi-error-loading-shared-libraries?noredirect=1&lq=1) MPI - error loading shared libraries (https://stackoverflow.com/q/44789416?lq=1) (Question score (upvotes - downvotes)) 16 (https://stackoverflow.com/questions/44789416/python-build-error-failed-to-build-modules-ssl-and-hashlib?noredirect=1&lq=1) Python Build Error: failed to build modules _ssl and _hashlib (https://stackoverflow.com/q/44012802?lq=1) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/44012802/unable-to-execute-a-hello-world-project-when-using-prefer-dynamic?noredirect=1&lq=1) Unable to execute a hello world project when using prefer-dynamic (https://stackoverflow.com/q/8323794?lq=1) (Question score (upvotes - downvotes)) 5 (https://stackoverflow.com/questions/8323794/re2-library-loading?noredirect=1&lq=1) re2 library loading (https://stackoverflow.com/q/29945791?lq=1) (Question score (upvotes - downvotes)) 5 (https://stackoverflow.com/questions/29945791/undefined-reference-to-cmocka-run-group-tests-when-running-sample-cmocka-te?noredirect=1&lq=1) "undefined reference to `_cmocka_run_group_tests'" when running sample CMocka test (https://stackoverflow.com/questions/linked/480764?lq=1) See more linked questions Related (https://stackoverflow.com/q/4514997?rq=3) (Question score (upvotes - downvotes)) 22 (https://stackoverflow.com/questions/4514997/error-loading-shared-libraries?rq=3) Error loading shared libraries (https://stackoverflow.com/q/7455601?rq=3) (Question score (upvotes - downvotes)) 5 (https://stackoverflow.com/questions/7455601/error-while-loading-shared-libraries?rq=3) error while loading shared libraries (https://stackoverflow.com/q/9701257?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/9701257/failure-to-load-existing-library?rq=3) Failure to load existing library (https://stackoverflow.com/q/31409701?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/31409701/error-while-loading-shared-library-add-to-ld-library-path?rq=3) error while loading shared library --> add to LD_LIBRARY_PATH? (https://stackoverflow.com/q/35904686?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/35904686/could-not-load-a-library?rq=3) could not load a library (https://stackoverflow.com/q/37977381?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/37977381/unable-to-load-shared-library-while-running-the-program?rq=3) Unable to load shared library while running the program (https://stackoverflow.com/q/38442233?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/38442233/error-while-loading-shared-libraries-no-such-file-or-directory?rq=3) Error while loading shared libraries, no such file or directory (https://stackoverflow.com/q/39020599?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/39020599/cannot-open-shared-object-file-no-such-file-or-directory-error-while-there-is-f?rq=3) cannot open shared object file: No such file or directory error while there is file (https://stackoverflow.com/q/49659602?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/49659602/shared-library-on-linux-is-not-found?rq=3) Shared Library on Linux is not found (https://stackoverflow.com/q/55898122?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/55898122/issue-loading-shared-library?rq=3) Issue loading shared library (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/789260/how-to-automatically-terminate-shell-scripts-after-1-minute-of-no-output) How to automatically terminate shell scripts after 1 minute of no output (Biblical Hermeneutics Stack Exchange) (https://hermeneutics.stackexchange.com/questions/100366/why-was-jesus-taken-to-egypt-when-it-was-forbidden-by-god-for-jews-to-re-enter-e) Why was Jesus taken to Egypt when it was forbidden by God for Jews to re-enter Egypt? (Law Stack Exchange) (https://law.stackexchange.com/questions/106778/prices-across-regions-with-different-tax) Prices across regions with different tax (Retrocomputing Stack Exchange) (https://retrocomputing.stackexchange.com/questions/31123/merge-two-saved-apple-ii-basic-programs-in-memory) Merge two (saved) Apple II BASIC programs in memory (Travel Stack Exchange) (https://travel.stackexchange.com/questions/192934/must-a-us-citizen-pay-import-taxes-on-an-engagement-ring-taken-on-a-plane-to-a-f) Must a US citizen pay import taxes on an engagement ring taken on a plane to a foreign girlfriend? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5020926/is-there-any-easy-existential-proof-of-transcendental-numbers-without-choice) Is there any easy existential proof of transcendental numbers without choice? (Software Engineering Stack Exchange) (https://softwareengineering.stackexchange.com/questions/456266/remove-a-loop-adding-a-new-dependency-or-having-two-loops) Remove a loop, adding a new dependency or having two loops (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/294101/please-help-with-identify-sf-movie-from-80s-with-cyborgs) Please help with identify SF movie from 80's with cyborgs (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/121334/why-is-pattern-recognition-not-racism) Why is pattern recognition not racism? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/839336/how-do-you-calculate-time-dilation-if-theres-two-gravitational-pulls-acting-at) How do you calculate time dilation if there's two gravitational pulls acting at once? (Super User) (https://superuser.com/questions/1869746/how-can-i-apply-an-array-formula-to-each-value-returned-by-another-array-formula) How can I apply an array formula to each value returned by another array formula? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/312712/is-a-cold-roof-meant-to-cause-draughts-into-the-living-space) Is a cold roof meant to cause draughts into the living space? (Politics Stack Exchange) (https://politics.stackexchange.com/questions/90258/how-are-countries-militaries-responding-to-inflammatory-statements-made-by-inco) How are countries' militaries responding to inflammatory statements made by incoming US leadership? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/735149/how-to-modify-7447-ic-output-to-improve-6-and-9-display-on-a-7-segment) How to Modify 7447 IC Output to Improve 6 and 9 Display on a 7-Segment (Travel Stack Exchange) (https://travel.stackexchange.com/questions/192951/is-there-a-way-to-confirm-your-alipay-works-before-arriving-in-china) Is there a way to confirm your Alipay works before arriving in China? (English Language Learners Stack Exchange) (https://ell.stackexchange.com/questions/361008/which-is-the-proper-way-just-only-or-only-just) Which is the proper way (Just only) or (only just)? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/789252/ssh-server-status-shows-disabled) SSH server status shows disabled (Astronomy Stack Exchange) (https://astronomy.stackexchange.com/questions/59235/what-does-a-forming-black-hole-look-like) What does a "forming" black hole look like? (Ask Ubuntu) (https://askubuntu.com/questions/1537514/calculator-in-24-04-has-a-conversion-problem) Calculator in 24.04 has a conversion problem (Board & Card Games Stack Exchange) (https://boardgames.stackexchange.com/questions/61696/what-do-you-call-the-equivalent-of-cardinal-directions-in-a-hex-grid) What do you call the equivalent of "Cardinal directions" in a hex-grid? (Personal Finance & Money Stack Exchange) (https://money.stackexchange.com/questions/165017/is-the-finance-charge-reduced-if-the-loan-is-paid-off-quicker) Is the finance charge reduced if the loan is paid off quicker? (Cross Validated) (https://stats.stackexchange.com/questions/659723/what-to-do-when-one-gets-a-decimal-value-as-degrees-of-freedom) What to do when one gets a decimal value as degrees of freedom? (Code Review Stack Exchange) (https://codereview.stackexchange.com/questions/294989/arena-region-allocator-in-c) Arena/Region allocator in C++ (Personal Finance & Money Stack Exchange) (https://money.stackexchange.com/questions/164996/understanding-the-benefit-of-non-principal-repayment-loan) Understanding the benefit of non principal repayment loan (/feeds/question/480764) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/480764) () (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.1.7.20880