AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Upgraded to dnf and installed sudo, and it failed with Symbol resolution failed

    Posted Tue September 19, 2023 04:29 AM

    Could not load program visudo:
    Symbol resolution failed for /opt/freeware/libexec/sudo/libsudo_util.a(libsudo_util.so.0) because:
            Symbol _GLOBAL__AIXI_libintl_so (number 130) is not exported from dependent
              module /usr/lib/libintl.a(libintl.so.8).
            Symbol _GLOBAL__AIXD_libintl_so (number 131) is not exported from dependent
              module /usr/lib/libintl.a(libintl.so.8).

    The /opt/freeware/libexec/sudo/libsudo_util.a archive contains the missing Symbol.

    My $PATH:  /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java8_64/jre/bin:/usr/java8_64/bin:/opt/freeware/bin:/opt/freeware/lib:/opt/afcu/bin

    My $LIBPATH:  /usr/lib:/opt/freeware/lib

    The installed sudo doesn't seem to have a path to a valid libsudo_util.a

    ln the libsudo_util.a to /opt/freeware/libexec/sudo/libsudo_util.a or /opt/freeware/libexec64/sudo/libsudo_util.a both fail.

    /opt/freeware/libexec/sudo/libsudo_util.a:

    Could not load module /opt/freeware/libexec/sudo/libsudo_util.a(libsudo_util.so.0).
            Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            Member libcrypto.so.1.1 is not found in archive

    /opt/freeware/libexec64/sudo/libsudo_util.a:

    Dependent module /opt/freeware/lib/libsudo_util.a(libsudo_util.so.0) could not be loaded.
            The module has an invalid magic number.

    Is there a verson of sudo that works after updating to dnf?



    ------------------------------
    Kolin Vance
    ------------------------------



  • 2.  RE: Upgraded to dnf and installed sudo, and it failed with Symbol resolution failed

    Posted Tue September 19, 2023 11:12 AM

    Could not load module /opt/freeware/libexec/sudo/libsudo_util.a(libsudo_util.so.0).
            Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            Member libcrypto.so.1.1 is not found in archive

    is a telltale sign that you don't have the correct openssl installed. Did you grab the latest from MRS?

    https://www.ibm.com/support/pages/downloading-and-installing-or-upgrading-openssl-and-openssh

    And also make sure you don't have an old openssl rpm lingering.



    ------------------------------
    Mario
    ------------------------------



  • 3.  RE: Upgraded to dnf and installed sudo, and it failed with Symbol resolution failed

    Posted Tue September 19, 2023 11:39 PM

    Hi Kolin,

    You need to unset the LIBPATH and remove the openssl rpm package.



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