<?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"
	>
<channel>
	<title>Comments on: Upgrading Mac Libraries</title>
	<atom:link href="http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/</link>
	<description>Ranting and Raving</description>
	<pubDate>Tue, 02 Dec 2008 15:42:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: greg</title>
		<link>http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-24010</link>
		<dc:creator>greg</dc:creator>
		<pubDate>Thu, 30 Nov 2006 17:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-24010</guid>
		<description>First, I doubt it's using the lib in the SDK.  That's a symbols-only stub, not a loadable library with code in it.

Second, libxml2.dylib is a symlink to libxml2.2.dylib, which is the actual stub.  Resymlinking libxml2.dylib would solve the problem.

Third, the real lib is in /usr/lib, and it's also a symlink.  So resymlinking it would let you change which lib PHP is using.

You could also change PHP's dylib load path (see 'man dylib'), so it searches someplace other than /usr/lib first.  That way all the other clients of libxml2.dylib won't be unintentionally redirected to the new lib.

I'm not sure exactly how you'd resymlink the stub lib in the SDK, or whether that's even the best approach.  Ask on Apple's Xcode-users list for suggestions.  I know that simply resymlinking has been suggested in the past, but there might be better suggestions.</description>
		<content:encoded><![CDATA[<p>First, I doubt it&#8217;s using the lib in the SDK.  That&#8217;s a symbols-only stub, not a loadable library with code in it.</p>
<p>Second, libxml2.dylib is a symlink to libxml2.2.dylib, which is the actual stub.  Resymlinking libxml2.dylib would solve the problem.</p>
<p>Third, the real lib is in /usr/lib, and it&#8217;s also a symlink.  So resymlinking it would let you change which lib PHP is using.</p>
<p>You could also change PHP&#8217;s dylib load path (see &#8216;man dylib&#8217;), so it searches someplace other than /usr/lib first.  That way all the other clients of libxml2.dylib won&#8217;t be unintentionally redirected to the new lib.</p>
<p>I&#8217;m not sure exactly how you&#8217;d resymlink the stub lib in the SDK, or whether that&#8217;s even the best approach.  Ask on Apple&#8217;s Xcode-users list for suggestions.  I know that simply resymlinking has been suggested in the past, but there might be better suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliotte Rusty Harold</title>
		<link>http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-23961</link>
		<dc:creator>Elliotte Rusty Harold</dc:creator>
		<pubDate>Thu, 30 Nov 2006 11:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-23961</guid>
		<description>I just installed PHP 5.2.0 from source. Maybe I should try Marc Liyanage’s installer instead. That might be the simplest option, except "This module will only work with the original Apache web server as shipped by Apple." and I'm using a custom compiled Apache 2. </description>
		<content:encoded><![CDATA[<p>I just installed PHP 5.2.0 from source. Maybe I should try Marc Liyanage’s installer instead. That might be the simplest option, except &#8220;This module will only work with the original Apache web server as shipped by Apple.&#8221; and I&#8217;m using a custom compiled Apache 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Ditchendorf</title>
		<link>http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-23899</link>
		<dc:creator>Todd Ditchendorf</dc:creator>
		<pubDate>Thu, 30 Nov 2006 03:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/mac/2006/11/29/upgrading-mac-libraries/#comment-23899</guid>
		<description>I've been advised from some people I trust that you should not replace the library in the sdk directory. 

Out of curiousity, I just did a PHP 5.2.0 for Apache 1.3 install using &lt;a href="http://www.entropy.ch/software/macosx/php/" rel="nofollow"&gt;Marc Liyanage's installer&lt;/a&gt;... I noticed that my phpinfo() page claims that php is using a libxml2 located in: /usr/local/php5/. And the latest libxml2 (2.2.6.26) is indeed installed under lib there. I would guess php is using this. My php.ini file seems to be silent on the issue...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been advised from some people I trust that you should not replace the library in the sdk directory. </p>
<p>Out of curiousity, I just did a PHP 5.2.0 for Apache 1.3 install using <a href="http://www.entropy.ch/software/macosx/php/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.entropy.ch');" rel="nofollow">Marc Liyanage&#8217;s installer</a>&#8230; I noticed that my phpinfo() page claims that php is using a libxml2 located in: /usr/local/php5/. And the latest libxml2 (2.2.6.26) is indeed installed under lib there. I would guess php is using this. My php.ini file seems to be silent on the issue&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
