<?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: PHP updated to 5.3.1</title>
	<atom:link href="http://diymacserver.com/2009/11/20/php-updated-to-5-3-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://diymacserver.com/2009/11/20/php-updated-to-5-3-1/</link>
	<description></description>
	<lastBuildDate>Wed, 02 May 2012 02:04:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Richard</title>
		<link>http://diymacserver.com/2009/11/20/php-updated-to-5-3-1/comment-page-1/#comment-5972</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 30 Nov 2009 09:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/?p=1119#comment-5972</guid>
		<description>Thanks! I&#039;ll check this and update the instructions accordingly</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;ll check this and update the instructions accordingly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://diymacserver.com/2009/11/20/php-updated-to-5-3-1/comment-page-1/#comment-5869</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Fri, 27 Nov 2009 13:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://diymacserver.com/?p=1119#comment-5869</guid>
		<description>I kept getting this error when trying to compile this on 10.6.2.

Undefined symbols:
  &quot;_libiconv&quot;, referenced from:
      __php_iconv_appendl in iconv.o
      __php_iconv_appendl in iconv.o
      _php_iconv_string in iconv.o
      _php_iconv_string in iconv.o
      __php_iconv_strlen in iconv.o
      __php_iconv_substr in iconv.o
      __php_iconv_strpos in iconv.o
      __php_iconv_mime_encode in iconv.o
      __php_iconv_mime_encode in iconv.o
      __php_iconv_mime_encode in iconv.o
      __php_iconv_mime_encode in iconv.o
      __php_iconv_mime_encode in iconv.o
      __php_iconv_mime_encode in iconv.o
      _php_iconv_stream_filter_append_bucket in iconv.o
      _php_iconv_stream_filter_append_bucket in iconv.o
      _php_iconv_stream_filter_append_bucket in iconv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1

I found the solution here http://bugs.php.net/bug.php?id=49267

I needed to do the following.
1) Add &quot;-lresolv&quot; to MH_BUNDLE_FLAGS, EXTRA_LDFLAGS and
EXTRA_LDFLAGS_PROGRAM in &quot;Makefile&quot;

2) Change &quot;ext/iconv/iconv.c&quot; 
&lt;code&gt;186c186
&lt; #define iconv libiconv
---
&gt; #define iconv iconv&lt;/code&gt;
</description>
		<content:encoded><![CDATA[<p>I kept getting this error when trying to compile this on 10.6.2.</p>
<p>Undefined symbols:<br />
  &#8220;_libiconv&#8221;, referenced from:<br />
      __php_iconv_appendl in iconv.o<br />
      __php_iconv_appendl in iconv.o<br />
      _php_iconv_string in iconv.o<br />
      _php_iconv_string in iconv.o<br />
      __php_iconv_strlen in iconv.o<br />
      __php_iconv_substr in iconv.o<br />
      __php_iconv_strpos in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      __php_iconv_mime_encode in iconv.o<br />
      _php_iconv_stream_filter_append_bucket in iconv.o<br />
      _php_iconv_stream_filter_append_bucket in iconv.o<br />
      _php_iconv_stream_filter_append_bucket in iconv.o<br />
ld: symbol(s) not found<br />
collect2: ld returned 1 exit status<br />
make: *** [libs/libphp5.bundle] Error 1</p>
<p>I found the solution here <a href="http://bugs.php.net/bug.php?id=49267" rel="nofollow">http://bugs.php.net/bug.php?id=49267</a></p>
<p>I needed to do the following.<br />
1) Add &#8220;-lresolv&#8221; to MH_BUNDLE_FLAGS, EXTRA_LDFLAGS and<br />
EXTRA_LDFLAGS_PROGRAM in &#8220;Makefile&#8221;</p>
<p>2) Change &#8220;ext/iconv/iconv.c&#8221;<br />
<code>186c186<br />
&lt; #define iconv libiconv<br />
---<br />
&gt; #define iconv iconv</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

