Skip to content

instantclient 23.26.3.0.0 and libaio 0.3.119-9 missing softlink #613

Open

Description

@mortenbj-statnett

Not sure if this is the correct place, but could someone please inform oracle that they have to link towards
libaio.so.1t64.0.2 and not libaio.so.1 because deb no longer softlinks it.

Just updated to latest installclient 23.26.3.0.0 and libaio 0.3.113.9 on ubuntu 26.04LTS

and I get this error:

oracledb.exceptions.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libaio.so.1: cannot open shared object file: No such file or directory". See https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html for help
Help: https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpi-1047

The issue is that latest libaio in debian do not install the libaio.so.1 or softlink it anymore
http://ftp.debian.org/debian/pool/main/liba/libaio/libaio1t64_0.3.113-9_amd64.deb

This fixes it:

cd /usr/lib/x86_64-linux-gnu; sudo ln -s libaio.so.1t64.0.2 libaio.so.1

Activity

  1. sharadraju commented on Sep 29, 2026

    @sharadraju
    Member

    Is this something specific to Debian Linux? Then it has to be taken up with Debian. Oracle does not release Instant Client packages specific to Debian.
    Yes, this repo is maintained by Oracle, but specific to the python-oracledb driver.

  2. mortenbj-statnett commented on Sep 29, 2026

    @mortenbj-statnett
    Author

    I only see this error when using python-oracledb, not when I use sqlplus, sqldeveloper, toad, dbeaver etc. So I'm not sure. I just added a check for this softlink when installing the base-container.
    This has been a problem since ubuntu24.04LTS - https://askubuntu.com/a/1512197/720196
    we have had libaio package until now, but in 26.04LTS is it most likely gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Client Library or DatabaseAn issue with Oracle Client library or Oracle Database

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions