{"id":1219,"date":"2022-08-30T15:14:22","date_gmt":"2022-08-30T15:14:22","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/slackware-linux-glib-cant-find-libffi-so-6-where-is-it-trying-to-look-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:22","modified_gmt":"2022-08-30T15:14:22","slug":"slackware-linux-glib-cant-find-libffi-so-6-where-is-it-trying-to-look-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/slackware-linux-glib-cant-find-libffi-so-6-where-is-it-trying-to-look-collection-of-common-programming-errors\/","title":{"rendered":"Slackware Linux: Glib can&#39;t find libffi.so.6. Where is it trying to look?-Collection of common programming errors"},"content":{"rendered":"<p>I have libffi installed and it&#8217;s in \/usr\/local\/lib, yet the glib make process can&#8217;t find it<\/p>\n<pre><code>\/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory\n\/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory\n\/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory\n\/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory\nmake[4]: Entering directory `\/home\/mathmagi\/src\/glib-2.32.4\/gio\/tests'\n  GEN    gdbus-test-codegen-generated.c\n  GEN    test_resources.c\n\/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory\nmake[4]: *** [test_resources.c] Error 127\nmake[4]: Leaving directory `\/home\/mathmagi\/src\/glib-2.32.4\/gio\/tests'\nmake[3]: *** [all-recursive] Error 1\nmake[3]: Leaving directory `\/home\/mathmagi\/src\/glib-2.32.4\/gio'\nmake[2]: *** [all] Error 2\nmake[2]: Leaving directory `\/home\/mathmagi\/src\/glib-2.32.4\/gio'\nmake[1]: *** [all-recursive] Error 1\nmake[1]: Leaving directory `\/home\/mathmagi\/src\/glib-2.32.4'\nmake: *** [all] Error 2\n<\/code><\/pre>\n<p>It&#8217;s definitely in \/usr\/local\/lib!<\/p>\n<pre><code>bash-4.1# updatedb\nbash-4.1# locate libffi.so.6\n\/usr\/local\/lib\/libffi.so.6\n\/usr\/local\/lib\/libffi.so.6.0.0\n\/home\/mathmagi\/src\/libffi-3.0.11\/x86_64-unknown-linux-gnu\/.libs\/libffi.so.6\n\/home\/mathmagi\/src\/libffi-3.0.11\/x86_64-unknown-linux-gnu\/.libs\/libffi.so.6.0.0\n<\/code><\/pre>\n<p>With glib I&#8217;ve tried<\/p>\n<pre><code>LDFLAGS=-L\/usr\/local\/lib .\/configure\n<\/code><\/pre>\n<p>Doesn&#8217;t work.<\/p>\n<p>How do I find where glib is looking and change it?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:10:33. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have libffi installed and it&#8217;s in \/usr\/local\/lib, yet the glib make process can&#8217;t find it \/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory \/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory \/home\/mathmagi\/src\/glib-2.32.4\/gio\/.libs\/lt-glib-compile-resources: error while loading shared [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1219","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1219"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1219\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}