{"id":429,"date":"2011-11-18T16:10:05","date_gmt":"2011-11-18T16:10:05","guid":{"rendered":"http:\/\/www.sitekickr.com\/blog\/?p=429"},"modified":"2011-11-18T16:10:23","modified_gmt":"2011-11-18T16:10:23","slug":"php-build-source-find-libraries","status":"publish","type":"post","link":"https:\/\/www.sitekickr.com\/blog\/php-build-source-find-libraries\/","title":{"rendered":"PHP build from source &#8211; can&#8217;t find libraries"},"content":{"rendered":"<p>I see this issue posted on countless threads, and the majority of the time, it is because PHP is not aware that you are on a 64-bit system and your libraries are sitting in \/usr\/lib64.<\/p>\n<p>The solution that everyone provides is to create symbolic links from the library that PHP is expecting to the 64-bit library itself.<\/p>\n<p>Okay, workable solution, but what a pain in the heck if you have quite a few libraries!<\/p>\n<p>PHP has dealt with this issue by offering the<em> &#8211;with-libdir<\/em> configuration option.<br \/>\n\t&nbsp;You&nbsp; might be tempted to provide the full path to your libraries in this option, but for some reason, this simply doesn&#39;t work.<\/p>\n<p>The example below demonstrates proper usage:<\/p>\n<p><code>.\/configure --with-libdir=lib64<br \/>\n\t<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I see this issue posted on countless threads, and the majority of the time, it is because PHP is not aware that you are on&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"amp_status":""},"categories":[77,16],"tags":[141],"_links":{"self":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/429"}],"collection":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":2,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":431,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions\/431"}],"wp:attachment":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}