⚡ Sangsakala Proxy 🏠 Home
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

Open

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?

Activity

  1. lelit commented on Jun 15, 2026

    @lelit
    Contributor

    I'm sorry, but I have no idea, I never used Alpine nor musl.

    But just to be clear: do you mean it worked at some time, and recently it started to crash? Because that suggests that something else changed and is causing the pain, I don't know, the gcc version maybe?

  2. hartwork commented on Jun 15, 2026

    @hartwork
    Author

    Hello @lelit, thanks for your reply! Yes it did work just a few days ago, and when Googling for the related symbol I find other things Alpine but nothing that I recognized as a solution or explanation, but I may have overlooked something. I understand that it's unlikely to be rapidjson's fault. How should we best continue here? I'm good with this sitting here for a bit or to be closed, as you see fits best. What do you think?

  3. lelit commented on Jun 15, 2026

    @lelit
    Contributor

    No problem for me to leave it open: only I'm afraid I can be of little help 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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