<?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: Missing Link</title>
	<atom:link href="http://www.red-sweater.com/blog/246/missing-link/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/246/missing-link</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<lastBuildDate>Wed, 18 Jan 2012 18:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-60207</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Fri, 23 Feb 2007 20:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-60207</guid>
		<description>Mike: I  wish I had more concrete instructions for how to get around all the niggling problems, but to be honest what I ended up doing was just going through and painstakingly figuring out the failures one at a time, and sometimes rather crudely hacking around the failures.

I believe the failure you&#039;re seeing there is based on a problem where the System path is getting searched for libraries, instead of fetching all libraries from the SDK path. You need to go through and eradicate all references to &quot;/usr/local/lib&quot; for instance. Maybe taking out that -rpath argument would do the trick.

But then you have to look in those .la arguments and make sure THEY don&#039;t list any / relative libraries in their dependencies.

There is probably a &quot;right way&quot; to fix it but that&#039;s how I would pursue it if you just need to hack out a solution.</description>
		<content:encoded><![CDATA[<p>Mike: I  wish I had more concrete instructions for how to get around all the niggling problems, but to be honest what I ended up doing was just going through and painstakingly figuring out the failures one at a time, and sometimes rather crudely hacking around the failures.</p>
<p>I believe the failure you&#8217;re seeing there is based on a problem where the System path is getting searched for libraries, instead of fetching all libraries from the SDK path. You need to go through and eradicate all references to &#8220;/usr/local/lib&#8221; for instance. Maybe taking out that -rpath argument would do the trick.</p>
<p>But then you have to look in those .la arguments and make sure THEY don&#8217;t list any / relative libraries in their dependencies.</p>
<p>There is probably a &#8220;right way&#8221; to fix it but that&#8217;s how I would pursue it if you just need to hack out a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Laster</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-60206</link>
		<dc:creator>Mike Laster</dc:creator>
		<pubDate>Fri, 23 Feb 2007 20:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-60206</guid>
		<description>I ran into the *exact* same problem you did trying to build a Universal version of Subversion.  What change did you make to make this problem go away?

I followed the instructions on TN2137:

CFLAGS=&quot;-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc&quot; LDFLAGS=&quot;-arch i386 -arch ppc&quot; ./configure
make

and I get a link error:

cd subversion/libsvn_ra_dav &amp;&amp; /bin/sh /tmp/subversion-1.4.3/libtool --tag=CC --silent --mode=link gcc  -O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc     -arch i386 -arch ppc    -L/tmp/subversion-1.4.3/apr-util/xml/expat/lib  -rpath /usr/local/lib -o libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /tmp/subversion-1.4.3/apr-util/libaprutil-0.la /tmp/subversion-1.4.3/apr-util/xml/expat/lib/libexpat.la -liconv /tmp/subversion-1.4.3/apr/libapr-0.la -lresolv  -lpthread /tmp/subversion-1.4.3/neon/src/libneon.la -framework Security -framework CoreFoundation -framework CoreServices -lz
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#039; seems to be moved
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#039; seems to be moved
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#039; seems to be moved
ld: Undefined symbols:
_acl_copy_ext_native referenced from CarbonCore expected to be defined in libSystem
_acl_copy_int_native referenced from CarbonCore expected to be defined in libSystem
_task_name_for_pid referenced from CarbonCore expected to be defined in libSystem
/usr/bin/libtool: internal link edit command failed
lipo: can&#039;t figure out the architecture type of: /var/tmp//ccFJj5J0.out</description>
		<content:encoded><![CDATA[<p>I ran into the *exact* same problem you did trying to build a Universal version of Subversion.  What change did you make to make this problem go away?</p>
<p>I followed the instructions on TN2137:</p>
<p>CFLAGS=&#8221;-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc&#8221; LDFLAGS=&#8221;-arch i386 -arch ppc&#8221; ./configure<br />
make</p>
<p>and I get a link error:</p>
<p>cd subversion/libsvn_ra_dav &amp;&amp; /bin/sh /tmp/subversion-1.4.3/libtool &#8211;tag=CC &#8211;silent &#8211;mode=link gcc  -O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc     -arch i386 -arch ppc    -L/tmp/subversion-1.4.3/apr-util/xml/expat/lib  -rpath /usr/local/lib -o libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /tmp/subversion-1.4.3/apr-util/libaprutil-0.la /tmp/subversion-1.4.3/apr-util/xml/expat/lib/libexpat.la -liconv /tmp/subversion-1.4.3/apr/libapr-0.la -lresolv  -lpthread /tmp/subversion-1.4.3/neon/src/libneon.la -framework Security -framework CoreFoundation -framework CoreServices -lz<br />
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#8217; seems to be moved<br />
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#8217; seems to be moved<br />
libtool: link: warning: `/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..//libiconv.la&#8217; seems to be moved<br />
ld: Undefined symbols:<br />
_acl_copy_ext_native referenced from CarbonCore expected to be defined in libSystem<br />
_acl_copy_int_native referenced from CarbonCore expected to be defined in libSystem<br />
_task_name_for_pid referenced from CarbonCore expected to be defined in libSystem<br />
/usr/bin/libtool: internal link edit command failed<br />
lipo: can&#8217;t figure out the architecture type of: /var/tmp//ccFJj5J0.out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Stevenson</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-40320</link>
		<dc:creator>Scott Stevenson</dc:creator>
		<pubDate>Wed, 03 Jan 2007 02:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-40320</guid>
		<description>I did a whole blog post about a Rails migration error only to have Dominik Wagner point out to me that the variable name was wrong. It was, like, ten lines of code.

I win.</description>
		<content:encoded><![CDATA[<p>I did a whole blog post about a Rails migration error only to have Dominik Wagner point out to me that the variable name was wrong. It was, like, ten lines of code.</p>
<p>I win.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Zornek</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-40287</link>
		<dc:creator>Mike Zornek</dc:creator>
		<pubDate>Tue, 02 Jan 2007 23:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-40287</guid>
		<description>I feel for ya.

Just last night I narrowed a core data relationship bug down to it&#039;s there when I deploy but not during regular development (even if I use the release config).

At first I though I was getting a different result from the xcode command line than the GUI but then I eventually found a bad model in svn. Schema 6 at some point was edited and was in the repo but my my ~/Projects/Billable folder. This by the way took about 3 hours to really understand.

Don&#039;t sweat it! :-)</description>
		<content:encoded><![CDATA[<p>I feel for ya.</p>
<p>Just last night I narrowed a core data relationship bug down to it&#8217;s there when I deploy but not during regular development (even if I use the release config).</p>
<p>At first I though I was getting a different result from the xcode command line than the GUI but then I eventually found a bad model in svn. Schema 6 at some point was edited and was in the repo but my my ~/Projects/Billable folder. This by the way took about 3 hours to really understand.</p>
<p>Don&#8217;t sweat it! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chucky</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-40269</link>
		<dc:creator>Chucky</dc:creator>
		<pubDate>Tue, 02 Jan 2007 21:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-40269</guid>
		<description>&lt;i&gt;&quot;You can’t expect ld to prefix full-path specifications with the SDK path.&quot;&lt;/i&gt;

I wish someone had let me know this before my wedding night.</description>
		<content:encoded><![CDATA[<p><i>&#8220;You can’t expect ld to prefix full-path specifications with the SDK path.&#8221;</i></p>
<p>I wish someone had let me know this before my wedding night.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-40259</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Tue, 02 Jan 2007 20:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-40259</guid>
		<description>Heh, thanks for saying so, rentzsch :) I replied to somebody off-line comment, saying that I figure mistakes go with this profession, and are also educational in their own way.</description>
		<content:encoded><![CDATA[<p>Heh, thanks for saying so, rentzsch :) I replied to somebody off-line comment, saying that I figure mistakes go with this profession, and are also educational in their own way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rentzsch</title>
		<link>http://www.red-sweater.com/blog/246/missing-link/comment-page-1#comment-40258</link>
		<dc:creator>rentzsch</dc:creator>
		<pubDate>Tue, 02 Jan 2007 20:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/246/missing-link#comment-40258</guid>
		<description>I link-blogged this, but I&#039;ll also put it here for better locality of reference:

I love this entry. It&#039;s the common case than I find &quot;here&#039;s a bug!&quot; + later &quot;oh it&#039;s not a bug, here&#039;s the story&quot;-style postings more valuable than straight-up &quot;publishing-what-I-know&quot; pieces.

Bottom-line: I like trigger-happy blog entries penned by smart guys like you when they enumerate solution attempts, and provide an interesting back story.</description>
		<content:encoded><![CDATA[<p>I link-blogged this, but I&#8217;ll also put it here for better locality of reference:</p>
<p>I love this entry. It&#8217;s the common case than I find &#8220;here&#8217;s a bug!&#8221; + later &#8220;oh it&#8217;s not a bug, here&#8217;s the story&#8221;-style postings more valuable than straight-up &#8220;publishing-what-I-know&#8221; pieces.</p>
<p>Bottom-line: I like trigger-happy blog entries penned by smart guys like you when they enumerate solution attempts, and provide an interesting back story.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

