-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/data/data/com.termux/files/usr/include/python3.9/Python.h:44:10: fatal error: crypt.h: No such file or directory #7153
Comments
Also there no dev packages. Termux no longer does splitting. So |
My question is : error: crypt.h: No such file or directory |
Yea.. that can be solved by |
I have already installed libcrypt
|
You may need to manually specify CPPFLAGS.. |
Yes, You may also try |
Amazing, It's work! Thanks for your help! |
Maybe disabling nls may help |
@suhan-paradkar There issues with threading, not with NLS. Termux (Android) has limited support for pthreads. Many stuff is missing.
|
Does Termux's Python support packaging as a dynamic library? Then use my C code to call the Python generated .so file? I have tested some Python packaging tools and found that the resulting.so file cannot be called. such as: Nuitka. I asked the author of Nuitka, and this is his response: Nuitka/Nuitka#1163. What's different about the Python environment on the Termux? |
Yes, our Python supports dynamic libraries. Your issue is most likely android/ndk#201. Binary doesn't expose symbols to loaded shared libraries. You should link your .so file with libpython to obtain symbols, otherwise it would not work. Android dynamic linker is not same as on normal Linux distributions - that's one of major differences you should know when using Termux. If you need a traditional behavior, then use proot'ed or chroot'ed variants of Linux distributions inside Termux either through |
Not found crypt.h: No such file or directory
The text was updated successfully, but these errors were encountered: