{"id":821,"date":"2010-06-06T15:29:04","date_gmt":"2010-06-06T19:29:04","guid":{"rendered":"http:\/\/nylinuxhelp.com\/blogs\/?p=821"},"modified":"2010-06-06T15:29:04","modified_gmt":"2010-06-06T19:29:04","slug":"cygwin-error-loading-shared-libraries","status":"publish","type":"post","link":"https:\/\/nylinuxhelp.com\/blogs\/command-line\/cygwin-error-loading-shared-libraries","title":{"rendered":"cygwin error loading shared libraries"},"content":{"rendered":"<p>If you&#8217;ve been using Cygwin for a while, particularly <em>imageMagick<\/em> functions such as <strong>convert<\/strong>, you may notice some breakages on updating your cygwin version.\u00a0 Errors such as:<\/p>\n<h2>convert: error while loading shared libraries: ?: cannot open shared object file: No such file or directory<\/h2>\n<p>&#8211; it&#8217;s (Cygwin) telling you that there are some libraries missing.\u00a0 You&#8217;ll need to find out which ones and then run the setup\/installer to fix it.<\/p>\n<p>To Fix it, first use the cygwin utility <strong>&#8216;cygcheck&#8217;<\/strong> to reveal the names of the missing DLLs.\u00a0\u00a0 Since this post references the convert function of imageMagick,\u00a0 run the command:<\/p>\n<pre>cygcheck convert<\/pre>\n<p>to generate a list of the missing libraries\/DLLs.\u00a0 For more information, you can check <a title=\"Cygwin Documentation for error loading shared libraries\" href=\"http:\/\/www.cygwin.com\/ml\/cygwin\/2010-04\/msg00835.html\" target=\"_blank\">cygwin&#8217;s documentation site<\/a>.\u00a0 If you&#8217;re having trouble with &#8220;<strong>montage<\/strong>&#8221; :\u00a0then in cygwin run:<\/p>\n<pre>cygcheck montage<\/pre>\n<p>and it should list out for you the libraries that it cannot find, one such library had the word &#8220;gomp&#8221; in it.\u00a0 In the cygwin setup\/installer, you&#8217;ll find the library just by putting in the last few letters (<strong>gomp<\/strong>) should find a match for you (or at least close enough) and click the checkbox to install the library.\u00a0 Another missing library was TIFF- related.<\/p>\n<p>In my case, it was missing the exact same libraries as cygcheck convert.\u00a0 Once the install was complete, then the <strong>&#8216;convert&#8217;<\/strong> function was back and running as expected.<\/p>\n<p>HOO-RAY!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve been using Cygwin for a while, particularly imageMagick functions such as convert, you may notice some breakages on updating your cygwin version.\u00a0 Errors such as: convert: error while loading shared libraries: ?: cannot open shared object file: No such file or directory &#8211; it&#8217;s (Cygwin) telling you that there are some libraries missing.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,7],"tags":[48,55,27],"class_list":["post-821","post","type-post","status-publish","format-standard","hentry","category-linux-apps","category-command-line","tag-cli","tag-cygwin","tag-imagemagick"],"_links":{"self":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/comments?post=821"}],"version-history":[{"count":10,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/821\/revisions"}],"predecessor-version":[{"id":831,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/821\/revisions\/831"}],"wp:attachment":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/media?parent=821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/categories?post=821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/tags?post=821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}