AIX Open Source

 View Only
Expand all | Collapse all

install openldap on AIX 7.3

  • 1.  install openldap on AIX 7.3

    Posted Wed July 31, 2024 07:34 AM

    Hi, I'm trying to install openldap on AIX 7.3 by rpm manually.
    I got rpm packages from https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha

    I tried and then got errors as follows:

    root:/tmp/RPM> rpm -ivh openldap-2.5.16-1.aix7.1.ppc.rpm

    erreur : Dépendances requises:

            /bin/sh est nécessaire pour openldap-2.5.16-1.ppc

            cyrus-sasl >= 2.1.28 est nécessaire pour openldap-2.5.16-1.ppc

            libc.a(shr.o) est nécessaire pour openldap-2.5.16-1.ppc

            libc.a(shr_64.o) est nécessaire pour openldap-2.5.16-1.ppc

            libcrypto.a(libcrypto.so.1.1) est nécessaire pour openldap-2.5.16-1.ppc

            libgcc >= 10.3.0 est nécessaire pour openldap-2.5.16-1.ppc

            libgcc_s.a(shr.o) est nécessaire pour openldap-2.5.16-1.ppc

            libpthread.a(shr_xpg5.o) est nécessaire pour openldap-2.5.16-1.ppc

            libpthread.a(shr_xpg5_64.o) est nécessaire pour openldap-2.5.16-1.ppc

            libs.a(shr.o) est nécessaire pour openldap-2.5.16-1.ppc

            libs.a(shr_64.o) est nécessaire pour openldap-2.5.16-1.ppc

            libsasl2.a(libsasl2.so.3) est nécessaire pour openldap-2.5.16-1.ppc

            libssl.a(libssl.so.1.1) est nécessaire pour openldap-2.5.16-1.ppc



    ------------------------------
    Amira Romdhane
    ------------------------------


  • 2.  RE: install openldap on AIX 7.3

    Posted Wed July 31, 2024 07:38 AM
    The AIX Toolbox team recommends using DNF to install and manage Open Source software packages and dependencies
    --> Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774
     
    --> Read What's New in the AIX Toolbox for Open Source Software
    https://www.ibm.com/support/pages/node/6833478
     


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin
    ------------------------------



  • 3.  RE: install openldap on AIX 7.3

    Posted Wed July 31, 2024 10:29 AM

    Additionally, notice the Local Repo links on the recommended page:

    --> Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin
    ------------------------------



  • 4.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 05:09 AM

    Hello, 

    I downloaded AIX toolbox media *.tar format image from either the Entitled System Support (ESS) and i extract .tar.gz into the path :

    gzip -dc ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_062024_LKT010327.tar.gz | tar xf - -C /mnt

    then i run the script /mnt/ezinstall/ppc/dnf_aixtoolbox_local.sh as shown below

     /mnt/ezinstall/ppc/dnf_aixtoolbox_local.sh /mnt

    But i got errors as follows:

    Checking whether any of the rpms from dnf_bundle are already installed...

    Takes couple of minutes to process.

    ca-certificates-2023.2.60-0 will be installed

    dnf-4.2.17-64_6 will be installed

    dnf-automatic-4.2.17-64_6 will be installed

    dnf-data-4.2.17-64_6 will be installed

    libcomps-0.1.15-64_1 will be installed

    libdnf-0.39.1-64_5 will be installed

    libmodulemd-1.5.2-64_2 will be installed

    librepo-1.11.0-64_2 will be installed

    libsmartcols-2.34-64_1 will be installed

    libsolv-0.7.9-64_4 will be installed

    libzstd-1.4.4-64_2 will be installed

    p11-kit-0.23.22-0 will be installed

    p11-kit-tools-0.23.22-0 will be installed

    python3-3.9.16-0 will be installed

    python3-dnf-4.2.17-64_6 will be installed

    python3-gpg-1.13.1-64_3 will be installed

    python3-hawkey-0.39.1-64_5 will be installed

    python3-libcomps-0.1.15-64_1 will be installed

    python3-libdnf-0.39.1-64_5 will be installed

    python3-librepo-1.11.0-64_2 will be installed

    python3.9-3.9.16-0 will be installed

    python3.9-dnf-4.2.17-64_6 will be installed

    python3.9-gpg-1.13.1-64_3 will be installed

    python3.9-hawkey-0.39.1-64_5 will be installed

    python3.9-libcomps-0.1.15-64_1 will be installed

    python3.9-libdnf-0.39.1-64_5 will be installed

    python3.9-librepo-1.11.0-64_2 will be installed

    rpm-python3-4.15.1-64_4 will be installed

    rpm-python3.9-4.15.1-64_4 will be installed

    yum-4.2.17-64_6 will be installed

    zchunk-libs-1.1.4-64_3 will be installed

    Installing the packages...

    error: Failed dependencies:

            /bin/sh is needed by ca-certificates-2023.2.60-0.ppc

            /bin/sh is needed by dnf-4.2.17-64_6.noarch

            /bin/sh is needed by dnf-automatic-4.2.17-64_6.noarch

            /bin/sh is needed by dnf-data-4.2.17-64_6.noarch

            libc.a(shr_64.o) is needed by libcomps-0.1.15-64_1.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by libcomps-0.1.15-64_1.ppc

            libz.a(libz.so.1) is needed by libcomps-0.1.15-64_1.ppc

            /bin/sh is needed by libdnf-0.39.1-64_5.ppc

            libc.a(shr.o) is needed by libdnf-0.39.1-64_5.ppc

            libc.a(shr_64.o) is needed by libdnf-0.39.1-64_5.ppc

            libcrypto.a(libcrypto.so.1.1) is needed by libdnf-0.39.1-64_5.ppc

            libpthread.a(shr_xpg5_64.o) is needed by libdnf-0.39.1-64_5.ppc

            librpm.a(librpm.so.9) is needed by libdnf-0.39.1-64_5.ppc

            librpmio.a(librpmio.so.9) is needed by libdnf-0.39.1-64_5.ppc

            libz.a(libz.so.1) is needed by libdnf-0.39.1-64_5.ppc

            libc.a(shr_64.o) is needed by libmodulemd-1.5.2-64_2.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by libmodulemd-1.5.2-64_2.ppc

            libc.a(shr_64.o) is needed by librepo-1.11.0-64_2.ppc

            libcrypto.a(libcrypto.so.1.1) is needed by librepo-1.11.0-64_2.ppc

            libpthread.a(shr_xpg5_64.o) is needed by librepo-1.11.0-64_2.ppc

            libssl.a(libssl.so.1.1) is needed by librepo-1.11.0-64_2.ppc

            libz.a(libz.so.1) is needed by librepo-1.11.0-64_2.ppc

            libc.a(shr_64.o) is needed by libsmartcols-2.34-64_1.ppc

            libc.a(shr_64.o) is needed by libsolv-0.7.9-64_4.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by libsolv-0.7.9-64_4.ppc

            librpm.a(librpm.so.9) is needed by libsolv-0.7.9-64_4.ppc

            librpmio.a(librpmio.so.9) is needed by libsolv-0.7.9-64_4.ppc

            libz.a(libz.so.1) is needed by libsolv-0.7.9-64_4.ppc

            libc.a(shr_64.o) is needed by libzstd-1.4.4-64_2.ppc

            /bin/sh is needed by p11-kit-0.23.22-0.ppc

            libc.a(shr.o) is needed by p11-kit-0.23.22-0.ppc

            libc.a(shr_64.o) is needed by p11-kit-0.23.22-0.ppc

            libpthread.a(shr_xpg5.o) is needed by p11-kit-0.23.22-0.ppc

            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-0.23.22-0.ppc

            libc.a(shr.o) is needed by p11-kit-tools-0.23.22-0.ppc

            libc.a(shr_64.o) is needed by p11-kit-tools-0.23.22-0.ppc

            libpthread.a(shr_xpg5.o) is needed by p11-kit-tools-0.23.22-0.ppc

            libpthread.a(shr_xpg5_64.o) is needed by p11-kit-tools-0.23.22-0.ppc

            /bin/sh is needed by python3-3.9.16-0.ppc

            /bin/sh is needed by python3.9-3.9.16-0.ppc

            /usr/bin/env is needed by python3.9-3.9.16-0.ppc

            libbsd.a(shr.o) is needed by python3.9-3.9.16-0.ppc

            libbsd.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc

            libc.a(shr.o) is needed by python3.9-3.9.16-0.ppc

            libc.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc

            libcrypt.a(shr.o) is needed by python3.9-3.9.16-0.ppc

            libcrypt.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc

            libdl.a(shr.o) is needed by python3.9-3.9.16-0.ppc

            libdl.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc

            libnsl.a(shr.o) is needed by python3.9-3.9.16-0.ppc

            libnsl.a(shr_64.o) is needed by python3.9-3.9.16-0.ppc

            libpthreads.a(shr_comm.o) is needed by python3.9-3.9.16-0.ppc

            libpthreads.a(shr_xpg5.o) is needed by python3.9-3.9.16-0.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by python3.9-3.9.16-0.ppc

            libz.a(libz.so.1) is needed by python3.9-3.9.16-0.ppc

            libc.a(shr_64.o) is needed by python3.9-gpg-1.13.1-64_3.ppc

            libpthread.a(shr_xpg5_64.o) is needed by python3.9-gpg-1.13.1-64_3.ppc

            libc.a(shr_64.o) is needed by python3.9-hawkey-0.39.1-64_5.ppc

            libpthread.a(shr_xpg5_64.o) is needed by python3.9-hawkey-0.39.1-64_5.ppc

            libc.a(shr_64.o) is needed by python3.9-libcomps-0.1.15-64_1.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by python3.9-libcomps-0.1.15-64_1.ppc

            libz.a(libz.so.1) is needed by python3.9-libcomps-0.1.15-64_1.ppc

            libc.a(shr_64.o) is needed by python3.9-libdnf-0.39.1-64_5.ppc

            libpthread.a(shr_xpg5_64.o) is needed by python3.9-libdnf-0.39.1-64_5.ppc

            libc.a(shr_64.o) is needed by python3.9-librepo-1.11.0-64_2.ppc

            libpthread.a(shr_xpg5_64.o) is needed by python3.9-librepo-1.11.0-64_2.ppc

            /bin/sh is needed by rpm-python3.9-4.15.1-64_4.ppc

            libc.a(shr_64.o) is needed by rpm-python3.9-4.15.1-64_4.ppc

            librpm.a(librpm.so.9) is needed by rpm-python3.9-4.15.1-64_4.ppc

            librpmbuild.a(librpmbuild.so.9) is needed by rpm-python3.9-4.15.1-64_4.ppc

            librpmio.a(librpmio.so.9) is needed by rpm-python3.9-4.15.1-64_4.ppc

            librpmsign.a(librpmsign.so.9) is needed by rpm-python3.9-4.15.1-64_4.ppc

            /bin/sh is needed by yum-4.2.17-64_6.noarch

            libc.a(shr_64.o) is needed by zchunk-libs-1.1.4-64_3.ppc

            libcrypto.a(libcrypto.so.1.1) is needed by zchunk-libs-1.1.4-64_3.ppc

            libpthreads.a(shr_xpg5_64.o) is needed by zchunk-libs-1.1.4-64_3.ppc

    dnf installation failed.

    If the failure was due to a space issue, increase the size of /opt and re-run the script again.

    Another reason for failure could be mixing of Toolbox packages and packages from other sources.

    Please check the failure error, correct it and retry again.



    ------------------------------
    Amira Romdhane
    ------------------------------



  • 5.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 05:53 AM

    Hi Amira,

    Try it after running "updtvpkg" command.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 6.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 06:07 AM

    Hi SANGAMESH, 

    /mnt/ezinstall/ppc> updtvpkg
    /usr/sbin/updtvpkg: line 113:  release = le paquet AIX-rpm n'est pas installé + 1 : arithmetic syntax error



    ------------------------------
    Amira Romdhane
    ------------------------------



  • 7.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 07:08 AM

    Try it with "export LANG=C"



    ------------------------------
    SANGAMESH
    ------------------------------



  • 8.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 07:24 AM

    hi, 

    the problem is resolved and the dnf is installed.

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /
    to avoid any download and installation/update failures.

    Creating the dnf.conf file with required locale repositories.
    The default /opt/freeware/etc/dnf/dnf.conf has been saved as /opt/freeware/etc/

    the dnf update command returns the error below:

    dnf update
    ksh: dnf:  not found



    ------------------------------
    Amira Romdhane
    ------------------------------



  • 9.  RE: install openldap on AIX 7.3

    Posted Mon August 05, 2024 11:10 AM

    Hi Amira,

    Now you can try running "/opt/freeware/bin/dnf update" and then install the other packages you would like to.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 10.  RE: install openldap on AIX 7.3

    Posted Tue August 06, 2024 03:27 AM

    Hi SANGAMESH, 

    The problem is resolved and Openldap is installed successufully.

    Thank you for your support .

    Best regards, 



    ------------------------------
    Amira Romdhane
    ------------------------------