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.  yum issue

    Posted 06/26/20 11:15 AM
    i have this issue :
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    Could not load module /usr/lib/libcurl.a(libcurl.so.4).
    Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
    File /usr/lib/libldap.a is not an
    archive or the file could not be read properly.
    System error: Exec format error
    Could not load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
    Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    i tride the solution in : 
    https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MID=141945&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer

    but it'is not working for me . in my server i need IBM LDAP  the link must stay as it is :
    ls -la /usr/lib/libldap.a
    lrwxrwxrwx 1 root system 35 Mar 3 09:37 /usr/lib/libldap.a -> /opt/IBM/ldap/V6.4/lib/libidsldap.a 
     i have openldap-2.4.46-1.ppc installed in my server .
    any idea !! 



    ------------------------------
    Amine louafi
    ------------------------------

    #AIXOpenSource


  • 2.  RE: yum issue

    Posted 06/26/20 11:25 AM
    Check whether we have LIBPATH exported to /usr/lib. Try yum after unsetting it.
    LIBPATH=  yum update

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: yum issue

    Posted 06/29/20 02:58 AM
    i allready do no LIBPATH seted . and tried the solutions in :https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MID=141945&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer 

    ar -X32 -x /opt/freeware/lib/libcurl.a.bak   #extracted the 32 bit version
    rm /opt/freeware/lib/libcurl.a               #removed the 64 bit version
    ar -X32 -q /opt/freeware/lib/libcurl.a libcurl.so.4 #added the 32 bit version
    ar -X32_64 -tv /opt/freeware/lib/libcurl.a

    rm libcurl.so.4                             
     ar -X64 -x /opt/freeware/lib64/libcurl.a            #extract 64 bit version
    ar -X64 -q /opt/freeware/lib/libcurl.a libcurl.so.4 #added the 64 bit version
    ar -X32_64 -tv /opt/freeware/lib/libcurl.a         
    rwxr-xr-x     0/0     858856 Mar  8 16:23 2018 libcurl.so.4
    rwxr-xr-x     0/0     920448 Mar  8 16:25 2018 libcurl.so.4

    i have the same error .



    ------------------------------
    Amine louafi
    ------------------------------



  • 4.  RE: yum issue

    Posted 06/29/20 04:18 AM
    Please provide the "rpm -qa" output and "ldd /opt/freeware/lib/python2.7/site-packages/pycurl.so" output.

    ------------------------------
    Ayappan P
    ------------------------------