<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 15, 2015, at 12:19 PM, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com" class="">allbery.b@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 15, 2015 at 12:14 PM, Ben Greenfield <span dir="ltr" class="">&lt;<a href="mailto:ben@cogs.com" target="_blank" class="">ben@cogs.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":167" class="a3s" style="overflow:hidden">gcc -fPIC -Wall -ggdb -I/opt/local/include -c -o encodings.o encodings.c<br class="">
MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;<br class="">
gcc -o encodings.so encodings.o -bundle -undefined dynamic_lookup -lidn<br class="">
ld: library not found for -lidn<br class=""></div></blockquote></div><br class="">You have the appropriate -I at compile time to find MacPorts-installed headers, but no matching -L at link time to find MacPorts-installed libraries.<br clear="all" class=""><div class=""><br class=""></div></div></div></div></blockquote><div><br class=""></div><div>Great you were exactly right and I managed to find the problem.</div><div><br class=""></div><div>Thanks,</div><div><br class=""></div><div>Ben</div><div><br class=""></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra">-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class="">brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div class=""><a href="mailto:allbery.b@gmail.com" target="_blank" class="">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank" class="">ballbery@sinenomine.net</a></div><div class="">unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank" class="">http://sinenomine.net</a></div></div></div>
</div></div>
</div></blockquote></div><br class=""></body></html>