Package apache is missing dependencies for the following libraries: libz.so.1

Hey!
How are you?

Do you guys where is the libz.so, just cant find libz in the libraries or compression.
Where is it?

Thanks!
Happy building,
Patrik

docker@093668436c76:/build/source$ cat .config | grep zlib
# CONFIG_PACKAGE_zlib-dev is not set
CONFIG_PACKAGE_kmod-lib-zlib-deflate=m
CONFIG_PACKAGE_kmod-lib-zlib-inflate=m
# CONFIG_PACKAGE_lua-lzlib is not set
CONFIG_PACKAGE_zlib=m
CONFIG_RSYNC_zlib=y
docker@093668436c76:/build/source$ 

Maybe I need the zlib-deb?

I am also having same issue.
I am building 17.01.6 stable version on Ubuntu 16.04.1.
The following is build log where the error occurs:
...

find /home/csk1125/lede/openwrt/build_dir/target-mipsel_24kc_musl-1.1.16/httpd-2.4.25/ipkg-mipsel_24kc/apache -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
_**Package apache is missing dependencies for the following libraries:**_
_**libz.so.1**_
Makefile:172: recipe for target '/home/csk1125/lede/openwrt/bin/packages/mipsel_24kc/packages/apache_2.4.25-1_mipsel_24kc.ipk' failed
make[3]: *** [/home/csk1125/lede/openwrt/bin/packages/mipsel_24kc/packages/apache_2.4.25-1_mipsel_24kc.ipk] Error 1

Makefile:172: recipe for target '/home/csk1125/lede/openwrt/bin/packages/mipsel_24kc/packages/apache_2.4.25-1_mipsel_24kc.ipk' failed
make[3]: Leaving directory '/home/csk1125/lede/openwrt/feeds/packages/net/apache'
package/Makefile:105: recipe for target 'package/feeds/packages/apache/compile' failed
make[2]: Leaving directory '/home/csk1125/lede/openwrt'
package/Makefile:101: recipe for target '/home/csk1125/lede/openwrt/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.package_compile' failed
make[1]: Leaving directory '/home/csk1125/lede/openwrt'

(Moved to the For Developers section.)

This was missing in 17.04.4:

As you can see I added +zlib ...

But by now I cant help anymore, since I use OpenWrt 18...

You can submit a patch to the packages repository for the lede branch.

i dont use lede anymore and openwrt 18 has this fix.