In Termux add:
export LDFLAGS="$LDFLAGS -lpython3.13" (adapt the python version here) to avoid below:
The error ImportError: dlopen failed: cannot locate
symbol "PyExc_ImportError" indicates that the
compiled C-extension (soxr_ext.abi3.so) was not
correctly linked against the Python shared library
(libpython3.13.so) during the build process. This is
a common issue in Termux when building packages that
use modern build backends like scikit-build-core and
nanobind on newer Python versions.
In Termux add:
export LDFLAGS="$LDFLAGS -lpython3.13"(adapt the python version here) to avoid below:The error ImportError: dlopen failed: cannot locate
symbol "PyExc_ImportError" indicates that the
compiled C-extension (soxr_ext.abi3.so) was not
correctly linked against the Python shared library
(libpython3.13.so) during the build process. This is
a common issue in Termux when building packages that
use modern build backends like scikit-build-core and
nanobind on newer Python versions.