AIX Open Source

 View Only
  • 1.  curl command issue with AIX

    Posted Thu May 25, 2023 11:17 AM

    Hi Mates,

    I need to use curl command on AIX 7.2. But, curl command is not there. To install curl command there are many dependencies. Could you please suggest how I can proceed with it.

     rpm -ivh curl-8.0.1-1.aix7.1.ppc.rpm
    error: Failed dependencies:
            ca-certificates >= 2021.2.52 is needed by curl-8.0.1-1.ppc
            krb5-libs >= 1.18.5 is needed by curl-8.0.1-1.ppc
            libcom_err.a(libcom_err.so) is needed by curl-8.0.1-1.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by curl-8.0.1-1.ppc
            libgcc >= 10.3.0 is needed by curl-8.0.1-1.ppc
            libgssapi_krb5.a(libgssapi_krb5.so) is needed by curl-8.0.1-1.ppc
            libk5crypto.a(libk5crypto.so) is needed by curl-8.0.1-1.ppc
            libkrb5.a(libkrb5.so) is needed by curl-8.0.1-1.ppc
            liblber.a(liblber-2.5.so.0) is needed by curl-8.0.1-1.ppc
            libldap.a(libldap-2.5.so.0) is needed by curl-8.0.1-1.ppc
            libnghttp2 >= 1.46.0 is needed by curl-8.0.1-1.ppc
            libnghttp2.a(libnghttp2.so.14) is needed by curl-8.0.1-1.ppc
            libssh2 >= 1.10.0 is needed by curl-8.0.1-1.ppc
            libssh2.a(libssh2.so.1) is needed by curl-8.0.1-1.ppc
            libssl.a(libssl.so.1.1) is needed by curl-8.0.1-1.ppc
            openldap >= 2.5.12 is needed by curl-8.0.1-1.ppc
            zlib >= 1.2.13 is needed by curl-8.0.1-1.ppc

    When I ran a command to check with

    "/usr/bin/curl -vvv https://qagpublic.qg1.apps.qualys.eu"
    exec(): 0509-036 Cannot load program /usr/bin/curl because of the following errors:
            0509-150   Dependent module libcurl.a(libcurl.so.4) could not be loaded.
            0509-022 Cannot load module libcurl.a(libcurl.so.4).
            0509-026 System error: A file or directory in the path name does not exist.

    I am getting above errors. Could you please suggest a solution. Thanks.



    ------------------------------
    Sreenath Kambly
    ------------------------------


  • 2.  RE: curl command issue with AIX

    Posted Thu May 25, 2023 05:51 PM

    As noted on the AIX Toolbox for Open Source Software download site, the AIX Toolbox team recommends using DNF to install and manage Open Source software packages and dependencies. 

    • Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
      • https://www.ibm.com/support/pages/node/6585774


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------