<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Error compiling PHP on CentOS 64 bit</title> <atom:link href="http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/feed/" rel="self" type="application/rss+xml" /><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/</link> <description>Free your mind ... and your ass will follow</description> <lastBuildDate>Sat, 19 Nov 2011 03:46:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: tok&#039;s blog &#187; Install Apache 2 and PHP from source code</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-3287</link> <dc:creator>tok&#039;s blog &#187; Install Apache 2 and PHP from source code</dc:creator> <pubDate>Sat, 19 Nov 2011 03:46:39 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-3287</guid> <description>[...] lamnk.com    Apache Centos PHP    [...]</description> <content:encoded><![CDATA[<p>[...] lamnk.com    Apache Centos PHP    [...]</p> ]]></content:encoded> </item> <item><title>By: Lamnk</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2633</link> <dc:creator>Lamnk</dc:creator> <pubDate>Mon, 24 May 2010 20:27:19 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2633</guid> <description>Thanks Courtney, that&#039;s why i always prefer install from a minimal base system no matter what the distro is.</description> <content:encoded><![CDATA[<p>Thanks Courtney, that&#39;s why i always prefer install from a minimal base system no matter what the distro is.</p> ]]></content:encoded> </item> <item><title>By: Courtney</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2631</link> <dc:creator>Courtney</dc:creator> <pubDate>Sun, 23 May 2010 13:50:07 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2631</guid> <description>btw you must do &lt;br&gt;LDFLAGS=-L/usr/lib64/mysql ./configure --with-mysql&lt;br&gt;&lt;br&gt;then LDFLAGS=-L/usr/lib64/mysql make&lt;br&gt;running make without setting the ldflag will cause it to fail&lt;br&gt;&lt;br&gt;might not be needed for make install but if make install fails then try &lt;br&gt;&lt;br&gt;LDFLAGS=-L/usr/lib64/mysql make install</description> <content:encoded><![CDATA[<p>btw you must do <br
/>LDFLAGS=-L/usr/lib64/mysql ./configure &#8211;with-mysql</p><p>then LDFLAGS=-L/usr/lib64/mysql make<br
/>running make without setting the ldflag will cause it to fail</p><p>might not be needed for make install but if make install fails then try</p><p>LDFLAGS=-L/usr/lib64/mysql make install</p> ]]></content:encoded> </item> <item><title>By: Courtney</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2630</link> <dc:creator>Courtney</dc:creator> <pubDate>Sun, 23 May 2010 13:46:56 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2630</guid> <description>setting LDFLAGS=-L/usr/lib64/mysql ./configure --with-mysql works like a charm. When all the other crap failed. configure seems to ignore setting mysql&#039;s lib dir to lib64 so for anyone searching and all other fixes fail then this works when mysql has some 32 bit dependencies installed on a 64 bit OS</description> <content:encoded><![CDATA[<p>setting LDFLAGS=-L/usr/lib64/mysql ./configure &#8211;with-mysql works like a charm. When all the other crap failed. configure seems to ignore setting mysql&#39;s lib dir to lib64 so for anyone searching and all other fixes fail then this works when mysql has some 32 bit dependencies installed on a 64 bit OS</p> ]]></content:encoded> </item> <item><title>By: richardwebdezign</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2613</link> <dc:creator>richardwebdezign</dc:creator> <pubDate>Fri, 19 Mar 2010 17:18:46 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2613</guid> <description>This fix also worked for me for finding gnu idn libraries.&lt;br&gt;&lt;br&gt;Thanks</description> <content:encoded><![CDATA[<p>This fix also worked for me for finding gnu idn libraries.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: DaveC</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2433</link> <dc:creator>DaveC</dc:creator> <pubDate>Fri, 12 Jun 2009 22:01:54 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2433</guid> <description>You saved the day for me :)  Thanks!</description> <content:encoded><![CDATA[<p>You saved the day for me <img
src='http://www.lamnk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Thanks!</p> ]]></content:encoded> </item> <item><title>By: Emanuel G.</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-2421</link> <dc:creator>Emanuel G.</dc:creator> <pubDate>Sat, 09 May 2009 21:17:27 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-2421</guid> <description>Thanks,
I was trying for hours to find a solution for the same problem without luck.</description> <content:encoded><![CDATA[<p>Thanks,</p><p>I was trying for hours to find a solution for the same problem without luck.</p> ]]></content:encoded> </item> <item><title>By: Enrico Kern</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-1918</link> <dc:creator>Enrico Kern</dc:creator> <pubDate>Thu, 16 Apr 2009 12:18:36 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-1918</guid> <description>thank you...</description> <content:encoded><![CDATA[<p>thank you&#8230;</p> ]]></content:encoded> </item> <item><title>By: Tim</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-1485</link> <dc:creator>Tim</dc:creator> <pubDate>Sat, 28 Mar 2009 20:20:55 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-1485</guid> <description>I tend to compile a complete LAMP stack under some special directory (so I know exactly what I&#039;ve got, and don&#039;t have to worry about breaking package management on my system by custom-compiling newer version of things.
So I end up with a directory like /web, which might contain openssl/ mhash/ libmcrypt/ curl/, etc.
Just today, I was doing this, but trying to link against the system&#039;s mysql.
In that setup, --with-libdir=lib64 can cause problems if your various other support libraries stick things in lib/ (as opposed to lib64/).  To fix just mysql, and allow other libs to look in lib/, you can try:
LDFLAGS=-L/usr/lib64/mysql ./configure --with-mysql ...</description> <content:encoded><![CDATA[<p>I tend to compile a complete LAMP stack under some special directory (so I know exactly what I&#8217;ve got, and don&#8217;t have to worry about breaking package management on my system by custom-compiling newer version of things.</p><p>So I end up with a directory like /web, which might contain openssl/ mhash/ libmcrypt/ curl/, etc.</p><p>Just today, I was doing this, but trying to link against the system&#8217;s mysql.</p><p>In that setup, &#8211;with-libdir=lib64 can cause problems if your various other support libraries stick things in lib/ (as opposed to lib64/).  To fix just mysql, and allow other libs to look in lib/, you can try:</p><p>LDFLAGS=-L/usr/lib64/mysql ./configure &#8211;with-mysql &#8230;</p> ]]></content:encoded> </item> <item><title>By: Mike OS</title><link>http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/comment-page-1/#comment-1481</link> <dc:creator>Mike OS</dc:creator> <pubDate>Thu, 12 Mar 2009 19:53:54 +0000</pubDate> <guid
isPermaLink="false">http://www.lamnk.com/blog/?p=53#comment-1481</guid> <description>Great!! This absolutely solved my problem!!
THANK YOU SO MUCH!
DOMO ARIGATOU!
MUCHAS GRACIAS!
MERCI BEAUCOUP!</description> <content:encoded><![CDATA[<p>Great!! This absolutely solved my problem!!</p><p>THANK YOU SO MUCH!<br
/> DOMO ARIGATOU!<br
/> MUCHAS GRACIAS!<br
/> MERCI BEAUCOUP!</p> ]]></content:encoded> </item> </channel> </rss>
