Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  Veersion difference in Libcurl and open SSL

    Posted 04/19/21 09:58 AM
    Hi All,

    I have difference in Libcurl version and openssl version .

    curl is pointing to OpenSSL.1.0.1l and OpenSSL version is 1.0.2r.

     
    #curl -V
    curl 7.50.3 (powerpc-ibm-aix7.1.4.0) libcurl/7.50.3 OpenSSL/1.0.1l zlib/1.2.11 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

    OPenSSL version is 

    /home/root # openssl version OpenSSL 1.0.2r 26 Feb 2019

    we need to update curl so that it use  new OpenSSL version i.e 1.0.2r

    How can I do the same.

    do I need to do reinstallion of curl ? 


    ------------------------------
    Iqbal Singh
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Veersion difference in Libcurl and open SSL

    Posted 04/21/21 12:24 PM
    This depends on when curl was built what library it was linked to.
    Yes you will have to update to a curl that uses newer openssl.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: Veersion difference in Libcurl and open SSL

    Posted 04/21/21 12:48 PM
    Do I need to install new curl ?

    ------------------------------
    Iqbal Singh
    ------------------------------



  • 4.  RE: Veersion difference in Libcurl and open SSL

    Posted 04/21/21 01:07 PM
    As I said it is dependent on from where you are installing curl.
    If you are using a latest curl that is built using old openssl then updating/installing curl will not help.
    I am not sure from where the existing curl was installed. It does not look from AIX toolbox.
    AIX toolbox curl are linked to openssl 1.0.2u
    # curl -V
    curl 7.74.0 (powerpc-ibm-aix6.1.9.0) libcurl/7.74.0 OpenSSL/1.0.2u zlib/1.2.11 libssh2/1.8.2 nghttp2/1.41.0
    Release-Date: 2020-12-09

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: Veersion difference in Libcurl and open SSL

    Posted 04/23/21 01:28 AM
    Ok, if I say that I want to have curl with same opnessl version as of my system..

    How Can I ensure that I am downloading the same curl.

    Any documentations might be suffice for this.

    ------------------------------
    Iqbal Singh
    ------------------------------



  • 6.  RE: Veersion difference in Libcurl and open SSL

    Posted 04/23/21 02:14 AM
    Please read about rpm how they work. 

    openssl provides 1.0.1 and 1.0.2 version of libssl and libcrypto shared objects.
    You need to verify if the specific curl is linking to 1.0.2 shared objects.
    You can use rpm command for that. It will list all the dependencies and library it needs.

    # rpm -qpR <curl package you want to install>​

    ------------------------------
    SANKET RATHI
    ------------------------------