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

2015-08-16 Thread Ben Greenfield
On Aug 15, 2015, at 1:48 PM, Ben Greenfield b...@cogs.com wrote: On Aug 15, 2015, at 12:19 PM, Brandon Allbery allber...@gmail.com mailto: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

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

2015-08-16 Thread Brandon Allbery
On Sun, Aug 16, 2015 at 3:43 PM, Ben Greenfield b...@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

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

2015-08-16 Thread Ryan Schmidt
On Aug 16, 2015, at 14:46, Brandon Allbery wrote: On Sun, Aug 16, 2015 at 3:43 PM, Ben Greenfield 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

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

2015-08-16 Thread Brandon Allbery
On Sun, Aug 16, 2015 at 5:05 PM, Ryan Schmidt ryandes...@macports.org wrote: 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

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

2015-08-15 Thread Ben Greenfield
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

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

2015-08-15 Thread Brandon Allbery
On Sat, Aug 15, 2015 at 12:14 PM, Ben Greenfield 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

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

2015-08-15 Thread Ben Greenfield
Hello, Everything I’m working on is research and the first goal is to a repeatable macports install of Prosody. The current Prosody Portfile is for an older version and I’m trying to get an experimental branch to work that can use Lua versions above 5.1. I’m also using Xcode-beta and on