<?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: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard</title>
	<atom:link href="http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/feed" rel="self" type="application/rss+xml" />
	<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard</link>
	<description>Ralph Schindler</description>
	<lastBuildDate>Thu, 07 Mar 2013 14:55:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Upgrade APC to work with Symfony 2 on Zend Server and OSX [closed] &#124; PHP Developer Resource</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-73450</link>
		<dc:creator>Upgrade APC to work with Symfony 2 on Zend Server and OSX [closed] &#124; PHP Developer Resource</dc:creator>
		<pubDate>Thu, 24 May 2012 03:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-73450</guid>
		<description><![CDATA[[...] #3: Check out this article by Ralph Schindler on &#8220;Compiling Gearman (or anything) for Zend Server CE on Snow [...]]]></description>
		<content:encoded><![CDATA[<p>[...] #3: Check out this article by Ralph Schindler on &#8220;Compiling Gearman (or anything) for Zend Server CE on Snow [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-41599</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Sun, 31 Jul 2011 14:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-41599</guid>
		<description><![CDATA[Hi,

THanks for the info.  It worked fine with APC and Xdebug.

I am getting the following for mcrypt but since it does not come from PECL is there any other way to solve it?

Unable to load dynamic library &#039;/usr/local/zend/lib/php_extensions/mcrypt.so&#039; - dlopen(/usr/local/zend/lib/php_extensions/mcrypt.so, 9): Library not loaded: /usr/lib/libltdl.3.dylib]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>THanks for the info.  It worked fine with APC and Xdebug.</p>
<p>I am getting the following for mcrypt but since it does not come from PECL is there any other way to solve it?</p>
<p>Unable to load dynamic library &#8216;/usr/local/zend/lib/php_extensions/mcrypt.so&#8217; &#8211; dlopen(/usr/local/zend/lib/php_extensions/mcrypt.so, 9): Library not loaded: /usr/lib/libltdl.3.dylib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lupus</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-32530</link>
		<dc:creator>lupus</dc:creator>
		<pubDate>Mon, 16 May 2011 12:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-32530</guid>
		<description><![CDATA[Hi, by chance (well, actually by looking at ./configure --help) I found that one can add the --enable-fat-binaries opton to the configure script. This avoids the errors with multiple architecture options and the standard flags. The following worked for gearmand 0.18, 0.19, and 0.2 on MacOS 10.5

./configure CFLAGS=&#039;-arch ppc -arch i386 -arch x86_64&#039; APXSLDFLAGS=&#039;-arch ppc -arch i386 -arch x86_64&#039; --with-boost=/usr/local --enable-fat-binaries

Checking the libgearman, e.g.

file /usr/local/lib/libgearman.4.dylib
/usr/local/lib/libgearman.4.dylib: Mach-O universal binary with 3 architectures
/usr/local/lib/libgearman.4.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
/usr/local/lib/libgearman.4.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
/usr/local/lib/libgearman.4.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc

So this hopefully adds a &quot;Plan A&quot; to your very helpful description.]]></description>
		<content:encoded><![CDATA[<p>Hi, by chance (well, actually by looking at ./configure &#8211;help) I found that one can add the &#8211;enable-fat-binaries opton to the configure script. This avoids the errors with multiple architecture options and the standard flags. The following worked for gearmand 0.18, 0.19, and 0.2 on MacOS 10.5</p>
<p>./configure CFLAGS=&#8217;-arch ppc -arch i386 -arch x86_64&#8242; APXSLDFLAGS=&#8217;-arch ppc -arch i386 -arch x86_64&#8242; &#8211;with-boost=/usr/local &#8211;enable-fat-binaries</p>
<p>Checking the libgearman, e.g.</p>
<p>file /usr/local/lib/libgearman.4.dylib<br />
/usr/local/lib/libgearman.4.dylib: Mach-O universal binary with 3 architectures<br />
/usr/local/lib/libgearman.4.dylib (for architecture i386):	Mach-O dynamically linked shared library i386<br />
/usr/local/lib/libgearman.4.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64<br />
/usr/local/lib/libgearman.4.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc</p>
<p>So this hopefully adds a &#8220;Plan A&#8221; to your very helpful description.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Butts</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-11744</link>
		<dc:creator>Josh Butts</dc:creator>
		<pubDate>Sun, 07 Nov 2010 01:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-11744</guid>
		<description><![CDATA[Slightly simpler version if you&#039;re using Macports to get ahold of libgearman and etc:
$ sudo port install gearmand +universal
$ cd /tmp
$ sudo pecl download gearman-beta
$ tar -zxvf gearman-0.7.0.tgz
$ cd gearman-0.7.0
$ phpize
$ ./configure LDFLAGS=&#039;-arch i386&#039; CCFLAGS=&#039;-arch i386&#039; CXXFLAGS=&#039;-arch i386&#039; CFLAGS=&#039;-arch i386&#039;
$ make
$ sudo make install
$ sudo zendctl.sh restart-apache

And you&#039;re done.  The simplification is telling macports you want a universal bundle of the libraries it installs, which then enables you to link and compile an i386-only php extension against them, but still maintain system-wide 64bit availability.]]></description>
		<content:encoded><![CDATA[<p>Slightly simpler version if you&#8217;re using Macports to get ahold of libgearman and etc:<br />
$ sudo port install gearmand +universal<br />
$ cd /tmp<br />
$ sudo pecl download gearman-beta<br />
$ tar -zxvf gearman-0.7.0.tgz<br />
$ cd gearman-0.7.0<br />
$ phpize<br />
$ ./configure LDFLAGS=&#8217;-arch i386&#8242; CCFLAGS=&#8217;-arch i386&#8242; CXXFLAGS=&#8217;-arch i386&#8242; CFLAGS=&#8217;-arch i386&#8242;<br />
$ make<br />
$ sudo make install<br />
$ sudo zendctl.sh restart-apache</p>
<p>And you&#8217;re done.  The simplification is telling macports you want a universal bundle of the libraries it installs, which then enables you to link and compile an i386-only php extension against them, but still maintain system-wide 64bit availability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webs Developer &#187; Ralph Schindler&#8217;s Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-4761</link>
		<dc:creator>Webs Developer &#187; Ralph Schindler&#8217;s Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard</dc:creator>
		<pubDate>Mon, 17 May 2010 17:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-4761</guid>
		<description><![CDATA[[...] Schindler has put together a guide for compiling gearman on Zend Server CE (or really anything for that matter).   Zend Server CE for Mac (as of this writing), comes compiled [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Schindler has put together a guide for compiling gearman on Zend Server CE (or really anything for that matter).   Zend Server CE for Mac (as of this writing), comes compiled [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph Schindler</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-4759</link>
		<dc:creator>Ralph Schindler</dc:creator>
		<pubDate>Mon, 17 May 2010 16:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-4759</guid>
		<description><![CDATA[Optik,

To my knowledge, that is correct.  Generally inside a header file you&#039;ll see architecture specific if blocks. For example, in event.h (on my system, part of libevent), you might see #ifdef WIN32 ... #else ... #endif

-ralph]]></description>
		<content:encoded><![CDATA[<p>Optik,</p>
<p>To my knowledge, that is correct.  Generally inside a header file you&#8217;ll see architecture specific if blocks. For example, in event.h (on my system, part of libevent), you might see #ifdef WIN32 &#8230; #else &#8230; #endif</p>
<p>-ralph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: optik</title>
		<link>http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard/comment-page-1#comment-4757</link>
		<dc:creator>optik</dc:creator>
		<pubDate>Mon, 17 May 2010 16:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://ralphschindler.com/?p=98#comment-4757</guid>
		<description><![CDATA[Thanks, I haven&#039;t solved this multiarch problems yet, hence just maybe stupid question. Header files (not only for gearman but generally) are always architecture independent?]]></description>
		<content:encoded><![CDATA[<p>Thanks, I haven&#8217;t solved this multiarch problems yet, hence just maybe stupid question. Header files (not only for gearman but generally) are always architecture independent?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

 Served from: ralphschindler.com @ 2013-06-20 05:03:44 by W3 Total Cache -->