How to use zlib in Termux
Achraf-cyber
Posted on July 3, 2022
Some programs in Termux needs zlib to run. Specially python apps such as buildozer. But they always run to an issue even though you install zlib by pkg install zlib
.
If you encounter such issue just run termux-chroot
before running your app.
In debian-like system (such as termux), program expect zlib header to be in usr/includes/zlib.h
But in termux it is stored in $PREFIX/includes/zlib.h
When run termux-chroot
, your $PREFIX will become /usr/
So you can use the program.
Happy coding
💖 💪 🙅 🚩
Achraf-cyber
Posted on July 3, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024