how can I get package libz.so.1?
I'm trying to make a Minecraft bedrock edition server and I can't make it work cause of a library called libz.so.1
. The following error pops up 'cannot open shared library libz.so.1'.
I have tried installing and updating zlib1g
but it made no difference.
Solution 1:
You need the development libraries for zlib1g
, not just the runtime environment.
sudo apt install zlib1g-dev
will install the underlying development libraries that your compiler is trying to find.