curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Please help me with CURLE_NOT_BUILT_IN error

From: Pham Hoang Hiep <hiep3x_at_gmail.com>
Date: Thu, 15 Dec 2016 22:44:10 +0700

Hi Daniel,

1. I presume that identifies an OpenSSL installation prefix? Does the
output summary at the end of the configure run also say that it detected
OpenSSL ?

=> I do not sure, I will provide you expected answer when I run it again. I
just run configure like that:

./configure -prefix="/tmp/${CURL_VERSION}-iOS-${ARCH}-${BITCODE}"
-disable-shared --enable-static -with-random=/dev/urandom
--with-ssl=/point/to/ssl/directory/ --host="arm-apple-darwin" &>
"/tmp/${CURL_VERSION}-iOS-${ARCH}-${BITCODE}.log"

with all variable have valid values.

2. That implies the build wasn't made for an OpenSSL backend. What does
curl_version_info() say about TLS backend?

=> I get curl_version_info() but there are no property named TLS backend.
Please see image below:

‚Äč
Thanks,
Hiep

On Thu, Dec 15, 2016 at 10:18 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 15 Dec 2016, Pham Hoang Hiep wrote:
>
> I'm using CURL library for my iOS app. I built a static CURL library with
>> support SSL enabled (using --with-ssl=/point/to/ssl/directory/)
>>
>
> I presume that identifies an OpenSSL installation prefix? Does the output
> summary at the end of the configure run also say that it detected OpenSSL ?
>
> rv = curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function);
>>
>> returned value is CURLE_NOT_BUILT_IN. It did not works & sslctx_function
>> never be called.
>>
>
> That implies the build wasn't made for an OpenSSL backend. What does
> curl_version_info() say about TLS backend?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-- 
----------------------------------
Pham Hoang Hiep (Mr.)
Senior Software Engineer
Mobile:  (+84) 985 822 627
Email: hiep3x_at_gmail.com
Skype: hiep2x

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Screen_Shot_2016-12-15_at_10.31.40_PM.png
Received on 2016-12-15