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

python and svn crash after latest DNF updates because the libsqlite3.so is missing

  • 1.  python and svn crash after latest DNF updates because the libsqlite3.so is missing

    Posted Wed July 30, 2025 09:53 AM

    hello 

    After the lastest DNF updates  libsqlite3.so is missing, apps which want to use it will crash (svn, python)

    - here an example 

    dnf update
    Last metadata expiration check: 1 day, 16:32:15 ago on Mon Jul 28 23:06:34 CEST 2025.
    Dependencies resolved.
    ===============================================================================================================================================================================================================
     Package                                            Architecture                                 Version                                            Repository                                            Size
    ===============================================================================================================================================================================================================
    Upgrading:
     libzstd                                            ppc                                          1.5.7-1                                            AIX_Toolbox                                          1.6 M
     python3                                            ppc                                          3.9.23-1                                           AIX_Toolbox                                          9.2 k
     python3.9                                          ppc                                          3.9.23-1                                           AIX_Toolbox                                           40 M
     sqlite                                             ppc                                          3.49.2-1                                           AIX_Toolbox                                          6.7 M

    Transaction Summary
    ===============================================================================================================================================================================================================
    Upgrade  4 Packages

    Total size: 49 M
    Total download size: 42 M
    Is this ok [y/N]: y
    Downloading Packages:
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                           38 MB/s |  42 MB     00:01
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction

    Upgraded:
      libzstd-1.5.7-1.ppc                               python3-3.9.23-1.ppc                               python3.9-3.9.23-1.ppc                               sqlite-3.49.2-1.ppc

    Complete!

    scripts who use python crash 

    .....  

    python -m json.tool
    exec(): 0509-036 Cannot load program python because of the following errors:
            0509-150   Dependent module libsqlite3.so could not be loaded.
            0509-022 Cannot load module libsqlite3.so.
            0509-026 System error: A file or directory in the path name does not exist.

    there is a symlink but its missing source file 

    ls -l /opt/freeware/lib/libsqlite3.so
    lrwxrwxrwx    1 root     system           20 Jun 03 22:01 /opt/freeware/lib/libsqlite3.so -> libsqlite3.so.3.49.2

     ls -l /opt/freeware/lib/libsqlite3.so.3.49.2
    ls: 0653-341 The file /opt/freeware/lib/libsqlite3.so.3.49.2 does not exist.

    - we currently use the following work around to resolve the issue for now 

    dnf downgrade sqlite-3.45.3-1
    Last metadata expiration check: 1 day, 16:41:40 ago on Mon Jul 28 23:06:34 CEST 2025.
    Dependencies resolved.
    ===============================================================================================================================================================================================================
     Package                                          Architecture                                  Version                                            Repository                                             Size
    ===============================================================================================================================================================================================================
    Downgrading:
     sqlite                                           ppc                                           3.45.3-1                                           AIX_Toolbox                                            11 M

    Transaction Summary
    ===============================================================================================================================================================================================================
    Downgrade  1 Package

    Total size: 11 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction

    Downgraded:
      sqlite-3.45.3-1.ppc

    Complete!



    ------------------------------
    Leo Becking
    ------------------------------

    #AIXOpenSource


  • 2.  RE: python and svn crash after latest DNF updates because the libsqlite3.so is missing

    Posted Tue August 05, 2025 08:55 AM

    looks like it is now  solved after latest dnf update we see :   sqlite   version 3.49.2-2

    - the fix is a corrected symlink

    # /opt/freeware/lib> ls -l  /opt/freeware/lib/ | grep libsqlite3.so
    lrwxrwxrwx    1 root     system           15 Jul 23 11:22 libsqlite3.so -> libsqlite3.so.0
    -rwxr-xr-x    1 root     system      6290115 Jul 23 11:22 libsqlite3.so.0



    ------------------------------
    Leo Becking
    ------------------------------