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

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 2 days ago

    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
    ------------------------------