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
  • 1.  Update to python-2.7.17-1 breaks yum

    Posted Thu March 19, 2020 03:29 PM

    Originally posted by: LoriB


    Updating to python 2.7.17.1 breaks yum.    Is there another package that needs an update?

    Could not load program /opt/freeware/bin/python2:
    Symbol resolution failed for /usr/lib/libpython2.7.so because:
            Symbol _GLOBAL__AIXI_libsqlite3_so (number 219) is not exported from dependent
              module /opt/freeware/lib/libsqlite3.so.
            Symbol _GLOBAL__AIXD_libsqlite3_so (number 220) is not exported from dependent
              module /opt/freeware/lib/libsqlite3.so.
    Examine .loader section symbols with the 'dump -Tv' command.
     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: Update to python-2.7.17-1 breaks yum

    Posted Mon March 23, 2020 02:13 AM

    Originally posted by: sangameshm


    What version of sqlite is installed in the machine ?

    While updating python sqlite was also uploaded ?

     

    Thanks,

    Sangamesh


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: Update to python-2.7.17-1 breaks yum

    Posted Mon March 23, 2020 08:43 AM

    Originally posted by: LoriB


    sqlite.ppc installed version 3.28.0-1  (last updated July 3, 2019)

    pysqlite.ppc installed version 2.8.3-2  (last updated Oct 28, 2019)

     

    As far as I can tell with yum list, these are the latest versions available from AIX_Toolbox.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: Update to python-2.7.17-1 breaks yum

    Posted Tue March 31, 2020 01:36 PM

    Originally posted by: LoriB


    I was able to resolve this issue.  On my test system, the libsqlite3.so object was not updated for some reason, even though I had the most recent version of sqlite.  This was the only system in my environment that had this situation, probably due to some prior testing on my part.

     

     To resolve:

     

    ls -l /opt/freeware/lib/sqlite*

    -rwxr-xr-x    1 root     system      8614644 Jun 11 2019  libsqlite3.a
    -rwxr-xr-x    1 root     system      1929034 Jul  8 2017  libsqlite3.so

     

    ar -x libsqlite3.a

    ls -l  shows the new version of libsqlite3.so:

    -rwxr-xr-x    1 root     system      4009539 Mar 31 09:22 libsqlite3.so.0

     

    mv libsqlite3.so.0  libsqlite3.so

    Now I am able to update to python 2.7.17-1 with no issues.
     

     


    #AIXOpenSource
    #AIX-Open-Source-Software