{"id":1469,"date":"2013-01-30T06:36:04","date_gmt":"2013-01-30T04:36:04","guid":{"rendered":"http:\/\/raftaman.net\/?p=1469"},"modified":"2021-05-15T11:46:38","modified_gmt":"2021-05-15T09:46:38","slug":"search-for-package-containing-a-certain-file","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=1469","title":{"rendered":"Search for a package containing a certain file"},"content":{"rendered":"<p>Assumed you want to find the package that contains the shared object <strong><code>libGLU.so.1<\/code><\/strong>, e.g. because a binary is dynamically linked against it, and <code>ldd<\/code> tells you that the shared library requirements are not met. On <strong>Fedora<\/strong> (or any yum-type os) you&#8217;d run<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ yum whatprovides *\/libGLU.so.1\r\n<\/pre>\n<p>and yum would tell you, that <code>mesa-libGLU<\/code> comes with <code>\/usr\/lib64\/libGLU.so.1<\/code> which could fulfill your need (could because you could also be missing the i686 version of the package, depending on your binary).<\/p>\n<p>The <strong>Ubuntu<\/strong> way of achieving the same thing:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ apt-file search libGLU.so.1\r\n<\/pre>\n<p>And of course the corresponding package would be <code>libglu1-mesa<\/code> on any recent Ubuntu os.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assumed you want to find the package that contains the shared object libGLU.so.1, e.g. because a binary is dynamically linked against it, and ldd tells you that the shared library requirements are not met. On Fedora (or any yum-type os) you&#8217;d run $ yum whatprovides *\/libGLU.so.1 and yum would tell you, that mesa-libGLU comes with \/usr\/lib64\/libGLU.so.1 which could fulfill your&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=1469\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,56,35],"class_list":["post-1469","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fedora","tag-ubuntu","tag-yum"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1469"}],"version-history":[{"count":6,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1469\/revisions"}],"predecessor-version":[{"id":1493,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1469\/revisions\/1493"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}