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
Expand all | Collapse all

sudo fails on run on aix 6.1

  • 1.  sudo fails on run on aix 6.1

    Posted Fri December 07, 2018 01:28 AM

    Originally posted by: henleyho


    Hi All, 
    having managed to successfully installed sudo (sudo-1.8.21p2-1) from https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html#S on aix 6.1 (6100-07-05-1228)

    the executable  fails to run due to a missing symbol from libc.a. 

     

    #> sudo -l

    exec(): 0509-036 Cannot load program sudo because of the following errors:

            0509-130 Symbol resolution failed for /opt/freeware/libexec/sudo/libsudo_util.so because:

            0509-136   Symbol memset_s (number 100) is not exported from

                       dependent module /usr/lib/libc.a(shr.o).

            0509-026 System error: Error 0

            0509-192 Examine .loader section symbols with the

                     'dump -Tv' command.

     

    Using the dump command to inspect the shared lib, the libc.a library is indeed missing the memset_s symbol / function. 
    Checking on the libc.a on another AIX box (AIX7.1), the symbol is found.
     

     

    Will patching the AIX 6.1 to the latest patch level or technology level help here ? 
    Any other ways to resolve this besides patching the system ? 

     

    Much thanks in advance 

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: sudo fails on run on aix 6.1

    Posted Fri December 07, 2018 02:36 AM

    Originally posted by: AyappanP


    The TL level (7) is old. Please update to the latest TL.

    I don't see any other way to resolve this. 


    #AIXOpenSource
    #AIX-Open-Source-Software