On Aug 24, 2015, at 5:36 PM, Jeffrey Walton wrote: > I'm having trouble getting libidn configured. I am using the recipe: > > curl -k http://curl.haxx.se/download/curl-7.44.0.tar.gz -o curl-7.44.0.tar.gz > tar zf curl-7.44.0.tar.gz > cd curl-7.44.0 > sed -i "" 's|-lidn|/usr/local/lib/libidn.a|g' configure.ac configure \ > lib/Makefile.m32 src/Makefile.m32 lib/curl_config.h.in > ./configure --enable-optimize --disable-ldap --disable-ldaps --disable-rtsp \ > --disable-dict --disable-ntlm-wb --disable-tls-srp --enable-http > --enable-file \ > --enable-proxy --enable-telnet --enable-tftp --enable-pop3 --enable-imap \ > --enable-ftp --enable-smb --enable-smtp --enable-gopher --enable-manual \ > --enable-ipv6 --enable-unix-sockets --enable-cookies --without-darwinssl \ > --without-libssh2 --with-gnu-ld --with-libidn=/usr/local > --with-ssl=/usr/local \ > --with-ca-path=/usr/share/curl --prefix=/usr/local
> The 'sed' part is kind of needed on OS X. Apple's linkers want to use > a *dylib regardless of what is specified in various flags. It will > always link to a *dylib if available (even on iOS, where its not > allowed for userland). > > Any ideas what I might be doing wrong? Why do you want to use static libraries? Dynamic libraries are preferred on OS X. It's true that iOS 7 and earlier prohibited the use of third-party dynamic libraries, but they're allowed on iOS 8 and later. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
