AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  CURL installer with supported https library

    Posted Tue March 09, 2021 10:45 PM
    Hi All,

    Good day, and hope you're doing well.

    I installed curl in AIX 7.1, and got this error message,

    # curl https://<URL>
    curl: (1) libcurl was built with SSL disabled, https: not supported!

    Hope someone can help me on getting complete curl libraries curl, that supports https.


    Thank you very much for the time!

    ------------------------------
    Senen Jr Dimanahan
    ------------------------------


  • 2.  RE: CURL installer with supported https library

    Posted Wed March 10, 2021 03:11 AM
    curl is definitely build with openssl enabled..maybe you are using another curl binary. 

    root@aixbuildhostng: /home/packagebuilder/apache2-itsv/openssl # which curl
    /opt/freeware/bin/curl
    root@aixbuildhostng: /home/packagebuilder/apache2-itsv/openssl # ldd /opt/freeware/bin/curl
    /opt/freeware/bin/curl needs:
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /opt/freeware/lib64/libcurl.a(libcurl.so.4)
             /opt/freeware/lib/libz.a(libz.so.1)
             /opt/freeware/lib64/libnghttp2.a(libnghttp2.so.14)
             /opt/freeware/lib64/libssh2.a(libssh2.so.1)
             /opt/freeware/lib/libgssapi_krb5.a(libgssapi_krb5.so)
             /opt/freeware/lib/libkrb5.a(libkrb5.so)
             /opt/freeware/lib/libk5crypto.a(libk5crypto.so)
             /opt/freeware/lib/libcom_err.a(libcom_err.so)
             /opt/freeware/lib64/libldap.a(libldap-2.4.so.2)
             /opt/freeware/lib64/liblber.a(liblber-2.4.so.2)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /opt/freeware/lib64/libgcc_s.a(shr.o)
             /usr/lib/libcrypto.a(libcrypto.so.1.0.2)
             /usr/lib/libssl.a(libssl.so.1.0.2)
             /opt/freeware/lib64/libkrb5.so
             /opt/freeware/lib64/libk5crypto.so
             /opt/freeware/lib64/libcom_err.so
             /opt/freeware/lib64/libkrb5support.so
             /opt/freeware/lib64/libintl.a(libintl.so.8)
             /opt/freeware/lib64/libsasl2.a
             /usr/lib/libs.a(shr_64.o)
             /opt/freeware/lib/libiconv.a(libiconv.so.2)
             /usr/lib/libdl.a(shr_64.o)
    ​


    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 3.  RE: CURL installer with supported https library

    Posted Wed March 10, 2021 03:19 AM
    Thank you for the info here.

    This is my curl version.

    # curl -V
    curl 7.9.3 (powerpc-ibm-aix4.3.3.0) libcurl 7.9.3

    # which curl
    /usr/bin/curl

    # ldd /usr/bin/curl
    /usr/bin/curl needs:
    /usr/lib/libc.a(shr.o)
    /opt/freeware/lib/libcurl.a(libcurl.so.2)
    /unix
    /usr/lib/libcrypt.a(shr.o)



    Seems that I only have libcurl 7.9.3 library installed.

    So in order to use curl, I have to download the following libraries?
    libc.a
    libcurl.a
    unix
    libcrypt.a


    Do you know where I can find the *.a files? I can't find the in the aix freeware website

    ------------------------------
    Senen Jr Dimanahan
    ------------------------------



  • 4.  RE: CURL installer with supported https library

    Posted Wed March 10, 2021 03:27 AM
    the aixtoolbox packages are meant to be managed via yum not manual. your curl is from stone ages und unsupported, so setup yum and install the desired packages this way.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 5.  RE: CURL installer with supported https library

    Posted Wed March 10, 2021 03:32 AM
    Thanks a lot for the suggestions.

    Keep safe, and best regards,

    ------------------------------
    Senen Jr Dimanahan
    ------------------------------



  • 6.  RE: CURL installer with supported https library

    Posted Wed March 10, 2021 08:50 PM
    Can I download the rpm files from my Linux Sandbox, and install them in the AIX?

    ------------------------------
    Senen Jr Dimanahan
    ------------------------------



  • 7.  RE: CURL installer with supported https library

    Posted Thu March 11, 2021 09:30 AM
    you can do whatever you want...but be prepared for ongoing headache. i can only recommend yum usage once again, you can thank me later. i'm still not clear why some people still insist doing this manually, just for coming back here and complain about self bred difficulties. it's not really rocket science to create a local mirror of the repos and use that.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------