Trying to use libidn in a port but get this error ld: library not found for -lidn
Brandon Allbery
allbery.b at gmail.com
Sun Aug 16 12:46:51 PDT 2015
On Sun, Aug 16, 2015 at 3:43 PM, Ben Greenfield <ben at cogs.com> wrote:
> I think I fixed the problem by adding -L/opt/local/lib to the LDFLAGS in
> macosx specific section.
> Does that sound like the expected fix?
>
Depends. If it's based on autoconf then you sometimes have to read through
all the aclocal stuff to find the right place to bodge it in; for a simple
Makefile, just adding to LDFLAGS is usually sufficient. (If it's cmake,
$DEITY have mercy on you.)
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150816/7c891628/attachment.html>
More information about the macports-users
mailing list