When I build Python 3.12.4 with –enable-shared option:
Enable building a shared Python library: libpython (default is no).
the only output I get from ltrace is:
Py_BytesMain(2, 0x7ffd1e465518, 0x7ffd1e465530, 0x649272aa9da0) = 0
+++ exited (status 0) +++
If the option is not used, ltrace works as expected.
Why is it happening? How can I troubleshoot it?
My config:
- Ubuntu 22.04
- ltrace version 0.7.3