Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py313t wheel doesn't link against libstdc++ #245

Open
hawkinsp opened this issue Dec 20, 2024 · 0 comments
Open

py313t wheel doesn't link against libstdc++ #245

hawkinsp opened this issue Dec 20, 2024 · 0 comments

Comments

@hawkinsp
Copy link
Collaborator

The py313t wheel fails to link against libstdc++

$ ldd /.pyenv/versions/3.13.1t/envs/py313t/lib/python3.13t/site-packages/ml_dtypes/_ml_dtypes_ext.cpython-313t-x86_64-linux-gnu.so
        linux-vdso.so.1 (0x00007f3bb0fbf000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3bb0db1000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3bb0bc8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3bb0fc1000)

This leads to import errors if no-one else has loaded libstdc++ first:

E   ImportError: .../ml_dtypes/_ml_dtypes_ext.cpython-313t-x86_64-linux-gnu.so: undefined symbol: _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE

I'm not sure how this happened, because when I build the wheel locally everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant