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

Python won't start with Symbol error

  • 1.  Python won't start with Symbol error

    Posted Wed August 01, 2018 12:36 PM

    Originally posted by: Brian G


    I installed all the packages required for yum using the yum.sh script found on the AIX Toolbox for Linux Applications site.  I installed on AIX 7.1.  When I attempt to launch yum or python I get this error:

     

    exec(): 0509-036 Cannot load program /opt/freeware/bin/python because of the following errors:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libstdc___so was referenced
          from module python(), but a runtime definition
          of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libstdc___so was referenced
          from module python(), but a runtime definition
          of the symbol was not found.



  • 2.  Re: Python won't start with Symbol error

    Posted Thu August 02, 2018 04:57 AM

    Originally posted by: sangameshm


    What version of python is installed in the machine right now. ?

    Running yum.sh script installs python-2.7.10 and which doesn't require these missing symbols.

    I am guessing python was already installed in the machine before running yum.sh script. 

    If higher version of python is already installed then yum.sh script won't downgrade to lower level of python-2.7.10.

     

    Looks like this error is mainly due to the missing libstdc++.a library from the system.

    This can be installed from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/gcc/libstdcplusplus-6.3.0-1.aix7.1.ppc.rpm

     

    Thanks,

    Sangamesh