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


#Servers
#Opensource
 View Only
  • 1.  python3 load problem

    Posted 10/01/18 11:56 AM

    Originally posted by: dieter_mosbach


    root@xx:/root# /usr/bin/python3
    exec(): 0509-036 Cannot load program python3.6m_64 because of the following errors:
            0509-130 Symbol resolution failed for python3.6m_64 because:
            0509-136   Symbol _GLOBAL__AIXI_libncurses_so (number 1755) is not exported from
                       dependent module /opt/freeware/lib/libncurses.a[libncurses.so.6].
            0509-136   Symbol _GLOBAL__AIXD_libncurses_so (number 1756) is not exported from
                       dependent module /opt/freeware/lib/libncurses.a[libncurses.so.6].
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    root@xx:/root# echo $LIBPATH

    root@xx:/root# rpm -q ncurses python3 libgcc
    ncurses-6.0-1.ppc
    python3-3.6.6-1.ppc
    libgcc-6.3.0-1.ppc

    root@xx:/root# rpm -qi ncurses python3 libgcc  | grep "Build Host"
    Build Host  : green52.in.ibm.com
    Build Host  : pokndd5.pok.stglabs.ibm.com
    Build Host  : fvt-p7z16.in.ibm.com

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: python3 load problem

    Posted 10/03/18 05:25 AM

    Originally posted by: AyappanP


    Please update your ncurses rpm to the latest (ncurses-6.1).


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: python3 load problem

    Posted 10/04/18 07:00 AM

    Originally posted by: dieter_mosbach


    Thanks for your hint,

    I already downloaded ncurses 6.1 but didn't install it :-)

     

    Preparing...                          ################################# [100%]
    Updating / installing...
       1:ncurses-6.1-1                    ################################# [ 50%]
    Cleaning up / removing...
       2:ncurses-6.0-1                    ################################# [100%]
    rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.

    Now python works!

    Is the rpm_share warning normal?

    Can I avoid it?

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: python3 load problem

    Posted 10/04/18 07:12 AM

    Originally posted by: AyappanP


    Yes, you can ignore them.


    #AIX-Open-Source-Software
    #AIXOpenSource