Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error compiling Curl w/ SSL

Discussion in 'EasyApache' started by hrisunko, Sep 17, 2018.

  1. hrisunko

    hrisunko Registered

    Joined:
    May 3, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,141
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hrisunko

    hrisunko Registered

    Joined:
    May 3, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,141
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice