> On Aug 15, 2015, at 12:19 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sat, Aug 15, 2015 at 12:14 PM, Ben Greenfield <b...@cogs.com 
> <mailto:b...@cogs.com>> wrote:
> gcc -fPIC -Wall -ggdb -I/opt/local/include -c -o encodings.o encodings.c
> MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
> gcc -o encodings.so encodings.o -bundle -undefined dynamic_lookup -lidn
> ld: library not found for -lidn
> 
> 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.
> 

Great you were exactly right and I managed to find the problem.

Thanks,

Ben



> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allber...@gmail.com <mailto:allber...@gmail.com>                              
>     ballb...@sinenomine.net <mailto:ballb...@sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net 
> <http://sinenomine.net/>
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to