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

getting the curl module while running the curl command

  • 1.  getting the curl module while running the curl command

    Posted Wed March 03, 2021 08:24 AM
    Hello All,

    I have installed the curl rpm package  along with dependencies, while running the curl command am getting the below module error, any help from any one us will be great full. 

    [ ampsv010pha1t -DV2/QV2:root:/home/root:] curl
    Could not load program curl:
    Could not load module /usr/lib/libcurl.a(libcurl.so.4).
    Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
    Member libcrypto.so is not found in archive
    Could not load module curl.
    Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.
    [ ampsv010pha1t -DV2/QV2:root:/home/root:]

    I have tired many steps by googling the error, unfortunately nothing worked. please provide if any has the solution

    ------------------------------
    Rudhramoorthy M
    ------------------------------

    #AIXOpenSource


  • 2.  RE: getting the curl module while running the curl command

    Posted Wed March 03, 2021 08:59 AM
    The libcrypto.a is a library supplied by openssl. Do you have any openssl rpm installed on the system ? 
    AIX toolbox packages uses openssl from AIX system but if you have any other openssl (rpm) then it will conflict. 
    The openssl libraries from AIX shipped openssl will get installed in /usr/lib. 

    You can verify if you have openssl rpm

    # rpm -qa | grep openssl

    You may​ need to remove if openssl rpm is present or make sure that curl from AIX toolbox uses openssl from /usr/lib​

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