You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If dlopen(CODON_PYTHON) fails and the dlerror() string contains 'executable' it means it is pointing to an executable rather than a library.
So run this executable it with arguments '-m', 'sysconfig', search the output for a line containing LDLIBRARY, take the value after the '=' and use that instead.
The text was updated successfully, but these errors were encountered:
Do you mind clarifying this? Not all Python executables ship with a dynamic library, hence that would not be the best solution at the moment. I do agree that there should be a better way of handling this, though...
All python.org releases on windows, linux and mac do. Other than obscure embedded versions of python, I don't recall encountering python without a dynamic library for over a decade an a half.
You can find an even more complete method for finding the library here:
If dlopen(CODON_PYTHON) fails and the dlerror() string contains 'executable' it means it is pointing to an executable rather than a library.
So run this executable it with arguments '-m', 'sysconfig', search the output for a line containing LDLIBRARY, take the value after the '=' and use that instead.
The text was updated successfully, but these errors were encountered: