AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted 2 days ago

    # /opt/freeware/bin/dnf check
    libgcc-6.3.0-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    libstdc++-6.3.0-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    python-2.3.4-4.ppc has missing requires of libcrypto.a(libcrypto.so.0.9.8)
    python-2.3.4-4.ppc has missing requires of libssl.a(libssl.so.0.9.8)
    Error: Check discovered 4 problem(s)

    root@servera:/opt/freeware/lib/gcc# ls -l
    total 0
    drwxr-xr-x    3 root     system          256 Mar 25 2008  powerpc-ibm-aix5.3.0.0
    drwxr-xr-x    3 root     system          256 Jul 21 2017  powerpc-ibm-aix7.1.0.0
    root@servera:/opt/freeware/lib/gcc#

    root@servera:/# lslpp -l | grep -i openssl
      CentrifyDC.openssl       5.8.0.188  COMMITTED  Centrify DirectControl OpenSSL
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
      openssl.license        3.0.13.1000  COMMITTED  Open Secure Socket License
      openssl.man.en_US      3.0.13.1000  COMMITTED  Open Secure Socket Layer
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
    root@servera:/# rpm -qa | grep -i ssl
    root@servera:/#


    when checked in internet, it stated I need to install below rpms but the links are not working for downloading those. can anyone help me resolving this issue

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-1.1.1t-1.ppc.rpm" href="https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-1.1.1t-1.ppc.rpm" rel="noreferrer noopener" target="_blank" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://public.dhe.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/openssl/openssl-1.1.1t-1.ppc.rpm">https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-1.1.1t-1.ppc.rpm
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-devel-1.1.1t-1.ppc.…" href="https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-devel-1.1.1t-1.ppc.rpm" rel="noreferrer noopener" target="_blank" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://public.dhe.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/openssl/openssl-devel-1.1.1t-1.ppc.rpm">https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-devel-1.1.1t-1.ppc.…
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-libs-1.1.1t-1.ppc.r…" href="https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-libs-1.1.1t-1.ppc.rpm" rel="noreferrer noopener" target="_blank" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://public.dhe.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/openssl/openssl-libs-1.1.1t-1.ppc.rpm">https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openssl/openssl-libs-1.1.1t-1.ppc.r…

     



    ------------------------------
    Naveen Rachuri
    ------------------------------


  • 2.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    Hi Naveen

    I usually get rpm,ssl and ssh updates from the web download pack program. It can be accessed here MRS (ibm.com). You can login with your IBM ID. The lpp and rpm can't exist together though so it's better to uninstall ssh,ssl rpms if they are installed to avoid confusion.

    There are many programs available, but you can scroll down and check for rpm, openssl and openssh, usually on the second page. Openssl and openssh are usually updated together.

    It is recommended to check periodically for updates on this site to rpm, openssl and openssh. Ensure the AIX RPM package is updated first.  You can reach out to me if you need help getting it all updated.

    Kind regards



    ------------------------------
    Lance Martincich
    ERP Systems Engineer
    City of Cape Town
    Cape Town
    +27832856514
    ------------------------------



  • 3.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    Hi,

    first check the output of below command  

    # ar -tv /ur/lib/libcrypto.a 

    then from output try to copy libcrypto.so.xx  to /opt/freeware/lib/

    Thank you



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 4.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    root@servera:/# ar -tv /ur/lib/libcrypto.a
    ar: 0707-100 /ur/lib/libcrypto.a does not exist.
    root@servera:/# which ar
    /usr/bin/ar
    root@servera:/#

    thats not present



    ------------------------------
    Naveen Rachuri
    ------------------------------



  • 5.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday


    root@servera:/# lslpp -l | grep -i openssl
      CentrifyDC.openssl       5.8.0.188  COMMITTED  Centrify DirectControl OpenSSL
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
      openssl.license        3.0.13.1000  COMMITTED  Open Secure Socket License
      openssl.man.en_US      3.0.13.1000  COMMITTED  Open Secure Socket Layer
      openssl.base           3.0.13.1000  COMMITTED  Open Secure Socket Layer
    root@servera:/#

    root@servera:/# rpm -qa | grep -i ssl
    root@servera:/#

    root@pixfer1:/# which openssl
    /usr/bin/openssl
    root@servera:/#

    openssl is installed. 

      CentrifyDC.openssl       5.8.0.188  COMMITTED  Centrify DirectControl OpenSSL

    this is being used by centrify for AD authentication and cannot be removed 



    ------------------------------
    Naveen Rachuri
    ------------------------------



  • 6.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    get this please 

    find /usr -name libcrypto.a



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 7.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    I was able to configure libcrypto.a but unfortunately it still didnt resolve my dependency. The links to download the rpm packages are not working for aix and making it tough for this dnf to work on aix

    root@servera:/opt/freeware/lib# find /usr -name libcrypto.a
    /usr/lib/libcrypto.a
    /usr/local/openssl-0.97d/lib/libcrypto.a
    /usr/share/centrifydc/lib/libcrypto.a
    /usr/share/centrifydc/lib64/libcrypto.a
    root@servera:/opt/freeware/lib#
    root@servera:/opt/freeware/lib#

    root@servera:/opt/freeware/lib# ls -l | grep -i libssl
    -rw-r--r--  1 root system  1904214 Nov 12 10:42 libssl.a
    lrwxrwxrwx  1 root system       26 Nov 12 10:55 libssl3.a -> /usr/opt/rpm/lib/libssl3.a
    lrwxrwxrwx  1 root system       27 Nov 12 10:55 libssl3.so -> /usr/opt/rpm/lib/libssl3.so
    -rwxr-xr-x  1 root system  1830227 Nov 12 10:42 libssl64.so.3
    -rw-r--r--  1 root system  1246568 Nov 12 10:42 libssl_a.a
    root@servera:/opt/freeware/lib# ln -sf libcrypto.so.3 libcrypto.so.1.1
    root@servera:/opt/freeware/lib# ls -l | grep -i libcrypto
    -rw-r--r--  1 root system  8732103 Nov 12 10:50 libcrypto.a
    lrwxrwxrwx  1 root system       14 Nov 12 10:59 libcrypto.so.1.1 -> libcrypto.so.3
    -rwxr-xr-x  1 root system  7302419 Nov 12 10:50 libcrypto.so.3
    -rwxr-xr-x  1 root system  8319667 Nov 12 10:42 libcrypto64.so.3
    -rw-r--r--  1 root system  9174692 Nov 12 10:42 libcrypto_a.a
    root@servera:/opt/freeware/lib# ln -sf libssl.so.3 libssl.so.1.1
    root@servera:/opt/freeware/lib# ls -l | grep -i libssl
    -rw-r--r--  1 root system  1904214 Nov 12 10:42 libssl.a
    lrwxrwxrwx  1 root system       11 Nov 12 10:59 libssl.so.1.1 -> libssl.so.3
    lrwxrwxrwx  1 root system       26 Nov 12 10:55 libssl3.a -> /usr/opt/rpm/lib/libssl3.a
    lrwxrwxrwx  1 root system       27 Nov 12 10:55 libssl3.so -> /usr/opt/rpm/lib/libssl3.so
    -rwxr-xr-x  1 root system  1830227 Nov 12 10:42 libssl64.so.3
    -rw-r--r--  1 root system  1246568 Nov 12 10:42 libssl_a.a
    root@servera:/opt/freeware/lib# /

    root@servera:/opt/freeware/lib# /opt/freeware/bin/dnf check
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 57, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError:    0509-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
            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.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
    root@servera:/opt/freeware/lib# ldd /opt/freeware/bin/openssl
    /opt/freeware/bin/openssl needs:
             /usr/lib/libssl.a(libssl64.so.3)
    ar: 0707-109 Member name libssl64.so.3 does not exist.
    dump: /tmp/tmpdir25821520/extract/libssl64.so.3: 0654-106 Cannot open the specified file.
             /usr/lib/libcrypto.a(libcrypto64.so.3)
    ar: 0707-109 Member name libcrypto64.so.3 does not exist.
    dump: /tmp/tmpdir25821520/extract/libcrypto64.so.3: 0654-106 Cannot open the specified file.
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /usr/lib/libc.a(shr_64.o)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
    root@servera:/opt/freeware/lib# ldd /opt/freeware/bin/python3.9
    /opt/freeware/bin/python3.9 needs:
             /usr/lib/libc.a(shr_64.o)
             /usr/lib/libpthreads.a(shr_xpg5_64.o)
             /opt/freeware/lib64/libpython3.9.a(libpython3.9.so)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /usr/lib/libdl.a(shr_64.o)
    root@servera:/opt/freeware/lib# 



    ------------------------------
    Naveen Rachuri
    ------------------------------



  • 8.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted yesterday

    can you get this please

    # ls -ltr /opt/freeware/lib/libcrypto.*



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 9.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted 22 hours ago

    Hi Naveen.

    Have you tried updating the lpp filesets from the web download package? That should fix any missing libraries/files. Libcryto is part of openssl so perhaps an update will fix it:

    lslpp -f openssl.base | grep libcrypto.a
                            /usr/lib/libcrypto.a.min
                            /usr/lib/libcrypto.a

    The latest version is openssl-3.0.16.1000.

    /opt/freeware/lib would refer to a dnf/rpm installation of openssl which is different from the lpp fileset location which installs the libraries in /usr/lib.

    Kind regards



    ------------------------------
    Lance Martincich
    ERP Systems Engineer
    City of Cape Town
    Cape Town
    +27832856514
    ------------------------------



  • 10.  RE: dnf not working after installing. its asking for libcrypto.so rpms which I am not able to find

    Posted 19 hours ago

    Hi Naveen,

    What worked for me, was the removal of python.ppc. So, if you don't need python v2, just get rid of it.

    Kind regards,

    Philip.



    ------------------------------
    Philip Krab
    ------------------------------