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.  sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Tue February 09, 2021 08:32 AM

    "sudo_noldap-1.9.5p2", sudo without ldap support (and hence no ldap dependency) is now available in Toolbox.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/sudo_noldap/sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm

    Now only gettext & zlib are the dependencies. 

    This rpm conflicts with sudo & sudo_ids rpm . So users need to remove sudo/sudo_ids before installing this. 
    rpm update or yum update as such won't work.

    # rpm -qpR sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm
    /bin/sh
    config(sudo_noldap) = 1.9.5p2-1
    gettext >= 0.19.8.1
    libc.a(shr.o)
    libc.a(shr_64.o)
    libintl.a(libintl.so.8)
    libpam.a(shr.o)
    libpam.a(shr_64.o)
    libpthread.a(shr_xpg5.o)
    libpthread.a(shr_xpg5_64.o)
    librtl.a(shr.o)
    libs.a(shr.o)
    libs.a(shr_64.o)
    libsudo_util.so
    libz.a(libz.so.1)
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    zlib >= 1.2.11-1



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

    #AIXOpenSource


  • 2.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Tue February 09, 2021 08:40 AM
    Edited by Russell Adams Tue February 09, 2021 08:50 AM
    That's great news! Thanks for the build with minimum dependencies.

    (Note to self: replying by email includes all quoted information, removed.)
    #AIXOpenSource


  • 3.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Thu February 11, 2021 12:18 PM
    gettext & zlib may be the only dependencies for sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm, but getting past the dependencies for gettext is a real problem when yum is not permitted on my AIX servers. Most of the dependencies are available on the Toolbox site, but not all. Then I run into dependencies for the dependencies, some of which point back to gettext as a dependency. I even have run into cases where a dependency is called for, but the dependency is installed. See below example. 
    [root@test2 sudo]# rpm -Uvh ncurses-6.2-2.aix6.1.ppc.rpm
    error: Failed dependencies:
    libstdc++ >= 8.3.0-1 is needed by ncurses-6.2-2.ppc
    [root@test2 sudo]# rpm -Uvh libstdcplusplus8-8.3.0-4.aix7.1.ppc.rpm
    Preparing... ################################# [100%]
    package libstdc++8-8.3.0-4.ppc is already installed

    I have never had problems like this when installing sudo in the past, but I have a clinical application that requires it. What's the solution? 



    ------------------------------
    Steve Longenecker
    ------------------------------



  • 4.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Fri February 12, 2021 01:21 AM
    Hi Steve,

    You also need to install libstdc++8 metapackage as well libstdcplusplus-8-1.aix7.1.ppc.rpm.
    Please download and install libstdcplusplus-8-1.aix7.1.ppc.rpm.

    Please check this blog post if want to know more about  the gcc multi version changes.
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=recentcommunityblogsdashboard

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



  • 5.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Fri February 12, 2021 09:10 AM
    Rather than spend the rest of my life chasing down dependencies, I decided to follow the recommendation on another thread to install yum to handle dependencies using the EZ Installer script http://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/yum.sh, but that fails with missing dependencies too. Any idea where to find them?

    readline-6.1-2 will be installed ...
    sqlite-3.15.2-1 will be installed ...
    yum-3.4.3-8 will be installed ...
    yum-metadata-parser-1.1.4-2 will be installed ...

    Installing the packages...

    error: Failed dependencies:
    libtcl8.4.so is needed by python-2.7.10-1.ppc
    libtk8.4.so is needed by python-2.7.10-1.ppc

    Yum installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run yum.sh
    or install the downloaded packages from /tmp/yum-20210212083705 manually.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.

    ------------------------------
    Steve Longenecker
    ------------------------------



  • 6.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Fri February 12, 2021 12:12 PM
    Hi Steve,

    Please run updtvpkg command and confirm if AIX-rpm provides libtcl8.4.so & libtk8.4.so.

    # rpm -q --provides AIX-rpm | egrep "libtcl|libtk"
    libtcl.so
    libtcl8.4.so
    libtcl8.6.so
    libtk.so
    libtk8.4.so
    libtk8.6.so

    These are provided by tcl.base and tk.base fillet.

    Once confirming this please rerun the yum.sh script.

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



  • 7.  RE: sudo_noldap-1.9.5p2 (sudo without ldap dependency) is now available in AIX Toolbox

    Posted Fri February 12, 2021 12:13 PM

    Hi Ayappan,

    I am new to this community, i read your post and tried to update sudo as below :

    ----------------------------------------------------------------------------------------------------------
    root@XXX:/tmp/sudo # rpm -Uvh sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm
    virhe: Puuttuvia riippuvuuksia:
    gettext >= 0.19.8.1 is needed by sudo_noldap-1.9.5p2-1.ppc
    zlib >= 1.2.11-1 is needed by sudo_noldap-1.9.5p2-1.ppc
    sudo on ristiriidassa -sudo_noldap-1.9.5p2-1.ppc:n kanssa
    root@XXX:/tmp/sudo #
    ----------------------------------------------------------------------------------------------------------

    Do i need to download gettext & zlib dependent package & install ? If yes, can you please share link from where to download .... would be a great help.


    Thanks,
    Madhu



    ------------------------------
    Madhukar Katkam
    ------------------------------