Skip to content

Debian 13 - Coccinelle - unable to find /lib/x86_64-linux-gnu/libpython3.13.so.1.0 #110

@vgambier

Description

@vgambier

Hi,

Coccinelle uses pyml. Since Debian 13 (Trixie) released as the latest stable release of Debian, I have encountered the following issue.

When Coccinelle is built on Debian 13, attempting to use the Python scripting functionality results in:

Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]

or

Py.find_library: unable to find the Python library [libpython3.13m.so returned 
libpython3.13m.so: cannot open shared object file: No such file or directory] 
[/usr/bin/../lib/libpython3.13m.so returned /usr/bin/../lib/libpython3.13m.so: 
cannot open shared object file: No such file or directory] [libpython3.13.so 
returned libpython3.13.so: cannot open shared object file: No such file or 
directory] [/usr/bin/../lib/libpython3.13.so returned 
/usr/bin/../lib/libpython3.13.so: cannot open shared object file: No such file 
or directory] [libpython3.13m.so returned libpython3.13m.so: cannot open shared 
object file: No such file or directory] [/usr/lib/libpython3.13m.so returned 
/usr/lib/libpython3.13m.so: cannot open shared object file: No such file or 
directory] [libpython3.13.so returned libpython3.13.so: cannot open shared 
object file: No such file or directory] [/usr/lib/libpython3.13.so returned 
/usr/lib/libpython3.13.so: cannot open shared object file: No such file or 
directory]

Examples of the error:

https://gitlab.inria.fr/coccinelle/coccinelle/-/jobs/6120525#L12055
https://www.mail-archive.com/[email protected]/msg2048937.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions