Closed rickmark closed 2 years ago
So - I kinda think this is a python bug, because it seems wrong for every library that depends on libpython
to have to depend on libintl
. Will file the bug but in the interim adding PYTHON_EXTRA_LIBS
will bring in the libintl
dependency.
Man what a day for top-posting 😅
Yeah correct answer wrong reason. This occurs because for some reason we try to compile the Cython module as a static library. Static libraries are required to be fully resolved.
The REAL answer is to not compile a static library version as the Cython module cannot exist without Python. If we really want a static library, you can use the embedding linkage, but it seems very odd that one would load the Cython module without having a python environment first.
Merged #197.
This is an issue I've seen before, but just making an issue to track before correcting it.
Somewhere along the way Python broke out some internationalization components from
libpython
and when using Autotools you must ensure you link to all the libraries that Cython tells you to, not just-lpython
now. For discoverability the error looks like this:Fix will be applied by changing the import definition for the link stage of build.