Skip to content

[1.23] import rapidjson crashes with rapidjson.cpython-314-x86_64-linux-musl.so: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm: symbol not found #230

Description

@hartwork

Hi!

When compiling and running python-rapidjson 1.23 on Alpine Linux with Python 3.14 like this…

FROM python:3.14-alpine
RUN apk add --update g++ gcc
RUN pip3 install --no-binary ':all:' python-rapidjson
RUN python3 -c 'import rapidjson'

…I started seeing this crash…

# docker build .
[..]
Step 4/4 : RUN python3 -c 'import rapidjson'
 ---> Running in 353d8abd0d9e
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import rapidjson
ImportError: Error relocating /usr/local/lib/python3.14/site-packages/rapidjson.cpython-314-x86_64-linux-musl.so: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm: symbol not found
[..]

…first around four days ago.

Is that known? Any ideas for a fix or workaround?

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