Skip to content

Failed to install wheel in Ubuntu16.04Β #1367

@rise0chen

Description

@rise0chen

Bug Description

Build

maturin build
Built wheel for abi3 Python β‰₯ 3.7 to ***-cp37-abi3-manylinux_2_24_x86_64.whl`

Install

pip install ***-cp37-abi3-manylinux_2_24_x86_64.whl
ERROR: ***-cp37-abi3-manylinux_2_24_x86_64.whl is not a supported wheel on this platform.

I think, it should build ***-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

It can work if I rename ***-cp37-abi3-manylinux_2_24_x86_64.whl to ***-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

maturin build --compatibility manylinux2014
maturin failed
  Caused by: Error ensuring manylinux_2_17 compliance
  Caused by: Your library is not manylinux_2_17 (aka manylinux2014) compliant because of the presence of too-recent versioned symbols: ["libc.so.6 offending symbols: __cxa_thread_atexit_impl@@GLIBC_2.18"]. Consider building in a manylinux docker container

GLIBC version is 2.23-0ubuntu11.3

Your maturin version (maturin --version)

0.14.7

Your Python version (python -V)

3.7.4

Your pip version (pip -V)

22.3.1

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

(.env) root@f0fca0e971de:~/sdk# RUST_LOG=maturin=debug maturin build --features ffi_py,mdns
πŸ”— Found pyo3 bindings with abi3 support for Python β‰₯ 3.7
🐍 Not using a specific python interpreter
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
πŸ“¦ Built wheel for abi3 Python β‰₯ 3.7 to /root/sdk/target/wheels/lebai_sdk-0.1.1-cp37-abi3-manylinux_2_24_x86_64.whl

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