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

 View Only
Expand all | Collapse all

curl not working in aix 7.2 server

  • 1.  curl not working in aix 7.2 server

    Posted Tue June 27, 2023 11:26 AM

    [root /]# curl -V
    exec(): 0509-036 Cannot load program curl because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
            0509-152   Member libcrypto.so is not found in archive
            0509-022 Cannot load module curl.
            0509-150   Dependent module /opt/freeware/lib/libcurl.a(libcurl.so.4) could not be loaded.
    [root /]# rpm -qa |grep -i curl
    python-pycurl-7.19.3-1.ppc
    curl-7.56.1-1.ppc
    [root /]#



    ------------------------------
    Elangovan Subramaniyan
    ------------------------------

    #AIXOpenSource


  • 2.  RE: curl not working in aix 7.2 server

    Posted Wed June 28, 2023 04:35 AM

    HI ,  

    Can you run the command 'rpm -qf /opt/freeware/lib/libcrypto.a' . This command will give you the package name for which this file belongs.

    Try removing the package using 'rpm -e <pakcage name>' 

    Once done, trigger curl command and let's see if it's working. 



    ------------------------------
    Ranjit Ranjan
    ------------------------------