AIX Open Source

 View Only
  • 1.  DNF update AIX 7.3

    Posted Wed March 27, 2024 05:52 AM
    Hi,
    If i install openssl 1.1.1 i am missing---> libssl.so.3   (in DNF)
    If i install openssl 3.0.10 i am missing-> libssl.so1.1 (in DNF)
    How can i get this right ? Or can i do something diffrent ?
    Multiple versions of a library like OpenSSL are needed by different applications on the same system. 
    Each version of OpenSSL generates its shared libraries with version-specific suffixes (e.g., libssl.so.1.1 for OpenSSL 1.1.1 and libssl.so.3 for OpenSSL 3.0.10), and applications will look for the specific version they were linked against at runtime.
    Installation Summary
    --------------------
    Name                        Level           Part        Event       Result
    -------------------------------------------------------------------------------
    openssl.man.en_US           1.1.1.1202      USR         APPLY       SUCCESS
    openssl.license             1.1.1.1202      USR         APPLY       SUCCESS
    openssl.base                1.1.1.1202      USR         APPLY       SUCCESS
    openssl.base                1.1.1.1202      ROOT        APPLY       SUCCESS
    openssl version
    OpenSSL 1.1.1l  24 Aug 2021
    Dependent module /lib/libssl.a(libssl.so.3) could not be loaded.
    Member libssl.so.3 is not found in archive
    --------------------------------------------------------------------------------------------
    Installation Summary
    --------------------
    Name                        Level           Part        Event       Result
    -------------------------------------------------------------------------------
    openssl.man.en_US           3.0.10.1002     USR         APPLY       SUCCESS
    openssl.license             3.0.10.1002     USR         APPLY       SUCCESS
    openssl.base                3.0.10.1002     USR         APPLY       SUCCESS
    openssl.base                3.0.10.1002     ROOT        APPLY       SUCCESS
    openssl version
    OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023)
    Dependent module /opt/freeware/lib/libssl.a(libssl.so.1.1) could not be loaded
    Member libssl.so.1.1 is not found in archive


    ------------------------------
    Per-Ola Hassle
    ------------------------------


  • 2.  RE: DNF update AIX 7.3

    Posted Wed March 27, 2024 08:39 AM

    You are checking the wrong file (/opt/freeware/lib/libssl.a) in the second scenario. This file is not part of the official IBM's Openssl lpp fileset. It is coming from some openssl rpm. Better remove the openssl rpm. Openssl lpp fileset ships the library in /usr/lib path only.



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



  • 3.  RE: DNF update AIX 7.3

    Posted Wed March 27, 2024 08:49 AM

    Hi Ayappan,

    Thanks for answere :) Wrong file? DNF is installed under /opt/freeware/lib. I have no openssl rpm ? 

    Question is how can i run dnf update......when DNF itself requiers libssl.so.1.1 ?

     /opt/freeware/bin/dnf update

    ImportError:    0509-022 Cannot load module /opt/freeware/lib64/librepo.a(librepo.so.0).
            0509-150   Dependent module /opt/freeware/lib/libssl.a(libssl.so.1.1) could not be loaded.
            0509-152   Member libssl.so.1.1 is not found in archive



    ------------------------------
    Per-Ola Hassle
    ------------------------------



  • 4.  RE: DNF update AIX 7.3

    Posted Wed March 27, 2024 08:52 AM

    If there is no openssl rpm installed in the machine, then that file is a left over from previous installation. Please remove /opt/freeware/lib/libssl.a and then try again. 



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



  • 5.  RE: DNF update AIX 7.3

    Posted Wed March 27, 2024 08:57 AM

    Aha

    I see now what you mean but dependencies :(

    rpm -qa | grep openssl
    pe-openssl-1.0.0r-1.pe.ppc
    openssl-1.0.2l-1.ppc

    rpm -e pe-openssl-1.0.0r-1.pe.ppc
    error: Failed dependencies:
            pe-openssl is needed by (installed) pe-ruby-1.9.3.551-5.pe.ppc

    rpm -e openssl-1.0.2l-1.ppc
    error: Failed dependencies:
            libcrypto.so is needed by (installed) sudo-1.8.21p2-1.ppc
            libssl.so is needed by (installed) sudo-1.8.21p2-1.ppc
            openssl >= 1.0.2l-1 is needed by (installed) openldap-2.4.44-0.1.ppc
            openssl >= 1.0.2l-1 is needed by (installed) sudo-1.8.21p2-1.ppc



    ------------------------------
    Per-Ola Hassle
    ------------------------------



  • 6.  RE: DNF update AIX 7.3

    Posted Wed March 27, 2024 09:03 AM

    With openssl rpm installed, dnf will not work. Recommendation is to remove openssl rpm. You can get Toolbox version of sudo, OpenLDAP. ( Not sure what is this pe-openssl or pe-ruby). 



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