curl-library
Curl 7.32.0, OpenSSL and iOS
Date: Tue, 8 Oct 2013 00:39:39 -0400
Hi All,
I'm trying to build curl-7.32.0 for iOS. I have the procedures and can
build just fine. But I noticed that configure omitted (or claims to
have omitted) OpenSSL:
$ ls /usr/local/ssl/iphoneos/
bin include man openssl.cnf
certs lib misc private
$ ./configure --host=x86_64-darwin --host=arm
--with-sysroot=$IOS_SYSROOT --with-ssl=/usr/local/ssl/iphoneos/
...
configure: Configured to build curl/libcurl:
curl version: 7.32.0
Host setup: arm-unknown-none
Install prefix: /usr/local
Compiler: clang -arch armv7 -arch armv7s
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
SSL support: no
(--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )
SSH support: no (--with-libssh2)
...
I had the same problem with libcurl on my Darwin host
(http://curl.haxx.se/mail/lib-2013-09/0162.html).
Any ideas on why configure is failing to find OpenSSL with a Darwin host?
$ cat config.log | grep -i openssl
configure:21862: clang -arch armv7 -arch armv7s
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-o conftest -Qunused-arguments -Os -I/usr/local/ssl/iphoneos//include
-I/usr/local/ssl/iphoneos//include/openssl
-L/usr/local/ssl/iphoneos//lib conftest.c -lcrypto -lz >&5
configure:21904: clang -arch armv7 -arch armv7s
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-o conftest -Qunused-arguments -Os
-I/usr/local/ssl/iphoneos//include/openssl
-I/usr/local/ssl/iphoneos//include -L/usr/local/ssl/iphoneos//lib
conftest.c -lcrypto -lz >&5
$ ls /usr/local/ssl/iphoneos//include
openssl
$ ls /usr/local/ssl/iphoneos//lib
fips_premain.c fipscanister.o libcrypto.a
fips_premain.c.sha1 fipscanister.o.sha1 libssl.a
I can't pastebin the config.log because its too large. Any suggestions
for where to upload the file?
Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-08