Power

 View Only
  • 1.  Python3 works for root, not for other user

    Posted Mon July 17, 2023 03:32 PM

    Python3 (/opt/freeware/bin) is working for root, but not other users.  Just using a 'pip list' as an example  shows the errors:

    ROOT NO PROBLEM:

    # /opt/freeware/bin/python3 -m pip list
    Package            Version
    ------------------ --------
    certifi            2023.5.7
    charset-normalizer 3.2.0  (continued...)

    User "SF" problem:

    [sf@america.rchland.ibm.com]/sf -> whence python3
    /opt/freeware/bin/python3


    [sf@america.rchland.ibm.com]/sf -> python3 -m pip list
    exec(): 0509-036 Cannot load program /opt/freeware/bin/python3 because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib64/libpython3.9.a[libpython3.9.so] because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 284) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 285) is not exported from
                       dependent module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.



    ------------------------------
    Shane Grizzard
    ------------------------------


  • 2.  RE: Python3 works for root, not for other user

    Posted Tue July 18, 2023 06:51 AM

    Hy Shane, 

    have your user "sf" set the LIBPATH environment ?

    >env|grep LIBPATH

    Clean the LIBPATH and try it...

    Tomas



    ------------------------------
    Tomas Michal
    ------------------------------