Here is my situation:
FROM alpine:3.20
RUN apk --no-cache add --update --virtual .builddeps build-base python3-dev &&
apk add py3-subversion
When I execute the following line
python3 -c "import libsvn.core"
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.12/libsvn/core.py", line 27, in <module>
from . import _core
ImportError: Error relocating /usr/lib/python3.12/libsvn/_core.so: SWIG_Python_str_AsChar: symbol not found
The same code runs in Alpine 3.16 just fine.
4