curl / Mailing Lists / curl-library / Single Mail


Problems cross-compiling with openssl 1.1.0

From: Chris Carlmar <>
Date: Wed, 7 Jun 2017 17:14:10 +0200

Hi again.
I'm trying to cross compile 7.54.0 with OpenSSL 1.1.0f for powerpc-linux
and compiling fails with this:

vtls/openssl.c:279:5: error: implicit declaration of function 'RAND_egd'

I checked lib/curl_config.h, and HAVE_RAND_EGD is set to 1.

I configure it with the following:

./configure --host powerpc-linux --with-ssl=$(SSLDIR)

During the configuring, I see this which might be interesting:
checking for OpenSSL headers version... 1.1.0 - 0x1010006fL
checking for OpenSSL library version... 1.0.1

I'm guessing that configure uses my system library, Debian 8.8 with
openssl 1.0.1t-1+deb8u6, and not the OpenSSL at the path I specify.

Is there a way to make this work?

Received on 2017-06-07