cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Errors building curl with OpenSSL for Android

From: Guenter <lists_at_gknw.net>
Date: Thu, 13 Sep 2012 23:41:10 +0200

Hi,
Am 13.09.2012 01:51, schrieb Rag Tag:
> I'm able to build curl fine for Android WITHOUT SSL support. However, I
> do need SSL support in curl, so I built libssl.a and libcrypto.a for
> Android. When I configure curl like this:
>
> exportCFLAGS="-I${PWD}/../OpenSSL/include
> -L${PWD}/../Android/obj/local/armeabi"
> OR
> export CPPFLAGS="-I${PWD}/../OpenSSL/include"
> export LDFLAGS="-L${PWD}/../Android/obj/local/armeabi"
> where ${PWD}/../OpenSSL/include has the "openssl" folder with all the
> headers, and ${PWD}/../Android/obj/local/armeabi has the libssl.a and
> libcrypto.a
>
> ./configure --host=arm-linux-androideabi --disable-shared
> -with-random=/dev/urandom --with-ssl --without-zlib
>
> I get the following error:
> checking for SSL_connect in -lssl... no
> checking for ssl with RSAglue/rsaref libs in use... checking for
> SSL_connect in -lssl... (cached) no
> no
> configure: error: OpenSSL libs and/or directories were not found where
> specified!
please read my reply to 'Building with OpenSSL for Android with static
library' which I just posted - that seems to apply for you too.

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-13