<div dir="ltr">So the solution would be to put the macports lib directory at the beginning of my path when building? Is there a different or better way?<div><br></div><div>-Jameson</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 10:28 AM, Brandon Allbery <span dir="ltr">&lt;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 1:23 PM, Jameson Merkow <span dir="ltr">&lt;<a href="mailto:jmerkow@gmail.com" target="_blank">jmerkow@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I&#39;ve been using macports for a while. I&#39;ve been using apple-gcc42 compiler, but I recently switched to mp-gcc46, to use mpich-gcc46.  Now that I&#39;ve switched, Im running into link errors (attached) with the installed glib2.0.  I am linking against the archive, not the dylib (this was working with apple-gcc42). I&#39;ve tried installing and reinstalling it a few times, to no avail, perhaps I am missing a step?</div><div>I have the following glib installed:</div></blockquote></div><br></span>It&#39;s linking against the system iconv instead of MacPorts&#39; iconv for some reason. MacPorts does that because otherwise things link fine and then drop core at runtime because the static data is different.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</font></span></div></div>
</blockquote></div><br></div>