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
  • 1.  yum libiconv issue

    Posted Mon May 10, 2021 12:53 PM
    Trying to install yum on AIX 7.1 and gets error:
    # yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    0509-022 Cannot load module /usr/lib/libglib-2.0.a(libglib-2.0.so.0).
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive
    0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
    0509-150 Dependent module /usr/lib/libglib-2.0.a(libglib-2.0.so.0) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59)

    Also gets error for curl:

    # curl
    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.
    0509-022 Cannot load module .

    no LIBPATH

    # echo $LIBPATH



    ------------------------------
    Davis Kaitharath
    ------------------------------

    #AIXOpenSource


  • 2.  RE: yum libiconv issue

    Posted Wed May 19, 2021 03:37 AM
    Can you please share the "rpm -qa" output ?
    Were there already RPMs were installed on the system before installing yum from other sources ?

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