hrisunko

Registered
May 3, 2006
2
0
151
Hello,

After upgrading PHP from 5.5.38 to 5.6.37 the extension compilation of Curl SSL fails with the following error:

vtls/openssl.c: In function 'Curl_ossl_cleanup':
vtls/openssl.c:1019: error: implicit declaration of function 'ENGINE_cleanup'
make[2]: *** [vtls/libcurl_la-openssl.lo] Error 1
make[2]: Leaving directory `/home/cpeasyapache/src/curl-7/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cpeasyapache/src/curl-7/lib'
make: *** [all-recursive] Error 1
dryrun test 'Find Curl SSL path for PHP 5' did not return true

!! Dry run failed for 'Cpanel::Easy::PHP5::CurlSSL' skipping option !!


We are using Easy Apache v.3.36.7 with cPanel 11.44.1 (build 18).

Trying to revert to PHP 5.5.38 now produces the same results and Curl extension now can only be compiled without SSL support.

What can we do to compile with Curl SSL enabled?

Thanks.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hi @hrisunko

Firstly I want to point out that the software version you're running has long been End of Life and is not supported. Furthermore, I want to stress that you should be considering moving to EasyApache 4 once cPanel is updated to a supported version. It's possible that it may be necessary to move to a supported version of cPanel before we're able to assist you with your issue.

In terms of your issue I am curious if you've got duplicate openssl rpms installed. Can you run the following and let me know what the output is:

Code:
rpm -qa |grep openssl
 

hrisunko

Registered
May 3, 2006
2
0
151
Hi @cPanelLauren,

Thank you for your reply.

Here is the result of the command:

openssl-devel-0.9.8e-40.el5_11
openssl-0.9.8e-40.el5_11

It seems you are right and we have more than 1 rpm installed at the moment. Should we remove one of them?

We will soon upgrade our system and we're looking for a temporary fix until we migrate.

Thanks again.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hi @hrisunko

You don't actually have duplicates you have openssl and openssl-devel which are in fact two different things though they look similar.
Can you please open a ticket using the link in my signature? I will warn you that it will be noted you're running an EoL version of cPanel and it's possible that we may need you to update to a supported version in order to provide support but I do believe this warrants some more in-depth investigation due to the issue you're experiencing.

Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!