AIX Open Source

 View Only
  • 1.  dnf and curl not working

    Posted Mon June 05, 2023 03:45 AM

    # /opt/freeware/bin/dnf update curl
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 57, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError:    0509-022 Cannot load module /opt/freeware/lib/libk5crypto.a(libk5crypto.so).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            0509-152   Member libcrypto.so.1.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib/libk5crypto.a(libk5crypto.so) could not be loaded.

    #./curl -help
    exec(): 0509-036 Cannot load program ./curl because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib/libk5crypto.a(libk5crypto.so).
            0509-150   Dependent module /opt/freeware/lib64/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            0509-152   Member libcrypto.so.1.1 is not found in archive
            0509-022 Cannot load module curl_64.
            0509-150   Dependent module /opt/freeware/lib/libk5crypto.a(libk5crypto.so) could not be loaded.

    #rpm -qi --whatprovides /opt/freeware/lib/libssl.a |  egrep "Name|Package|Build Host"
    Name        : openssl
    Build Host  : castor1.coopibm.frec.bull.fr



    ------------------------------
    AXIS ADMIN
    ------------------------------


  • 2.  RE: dnf and curl not working

    Posted Mon June 05, 2023 03:47 AM

    Please remove openssl rpm. ( rpm -e openssl)

    Also make sure openssl lpp fileset is installed. (lslpp -l | grep openssl). 



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



  • 3.  RE: dnf and curl not working

    Posted Mon June 05, 2023 12:59 PM

    Do you have openssl rpm installed on the system.

    AIX toolbox packages uses AIX shipped openssl and having openssl rpm conflict with working of AIX toolbox packages.

    Please remove openssl rpm and use AIX openssl.

    Also please make sure you have AIX openssl greater than or equal to 1.1.1

     

    Thanks,

     

    Sanket Rathi