{"id":142,"date":"2015-12-02T20:44:29","date_gmt":"2015-12-02T20:44:29","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2015\/12\/02\/using-zypper-to-determine-what-package-contains-a-certain-file-include-zypper-cheat-file\/"},"modified":"2015-12-02T20:44:29","modified_gmt":"2015-12-02T20:44:29","slug":"using-zypper-to-determine-what-package-contains-a-certain-file-include-zypper-cheat-file","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=142","title":{"rendered":"Using zypper to determine what package contains a certain file (include zypper cheat file)"},"content":{"rendered":"<p>Lets<br \/>\n say that you are trying to run a piece of software but it comes up with<br \/>\n an error like:<br \/>Code:<\/p>\n<pre>\n<strong><em># error while loading shared libraries: \nlibpng12.so.0: cannot open shared object file: No such file or \ndirectory<\/em><\/strong><\/pre>\n<p>You can use zypper to determine what package that library<br \/>\nbelongs to by using &#039;zypper wp&#039;:<br \/>Code:<\/p>\n<pre>\n<strong><em># zypper wp \nlibpng12.so.0<\/em><\/strong>\nLoading repository data...\nReading installed packages...\nS | Name             | Type    | Version    | Arch   | Repository       \n--+------------------+---------+------------+--------+------------------\n | libpng12-0       | package | 1.2.44-2.1 | x86_64 | openSUSE-11.3-Oss\n | libpng12-0       | package | 1.2.44-2.1 | i586   | openSUSE-11.3-Oss\n | libpng12-0-32bit | package | 1.2.44-2.1 | x86_64 | \nopenSUSE-11.3-Oss<\/pre>\n<p>&nbsp;<\/p>\n<p>Code:<\/p>\n<pre>\n<strong><em># zypper in \nlibpng12-0<\/em><\/strong><\/pre>\n<\/p>\n<p>Then that application should run fine.<\/p>\n<p><a href=\"https:\/\/forums.opensuse.org\/showthread.php\/447545-How-to-Using-zypper-to-determine-what-package-contains-a-certain-file\" target=\"_blank\" rel=\"noopener noreferrer\">Credits<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lets say that you are trying to run a piece of software but it comes up with an error like:Code: # error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory You can use &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=142\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/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":[30],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-opensuse"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}