Trying to use libidn in a port but get this error ld: library not found for -lidn

Brandon Allbery allbery.b at
Sun Aug 16 14:08:34 PDT 2015

On Sun, Aug 16, 2015 at 5:05 PM, Ryan Schmidt <ryandesign at>

> I would answer this exactly the other way round: autoconf based build
> systems are largely well behaved and will respond correctly to LDFLAGS
> being set, though it's certainly possible to use autoconf incorrectly such
> that that doesn't work. Simple handmade Makefiles are, on the other hand,
> much more likely to have been written without regard for this.

I spent far too much time fixing up insane autoconf stuff at my last job,
ranging from "ok, I can fake it this way" to "rewrite the whole thing
because they managed to ensure that there is no way to inject additional
LDFLAGS without breaking it". Makefiles can certainly be messed up, but a
poorly written Makefile is often easier to fix than a bollixed autoconf in
my experience.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list