problem when i compile the code
# make build
Wed Nov 28 16:17:09 CST 2018: Building source tree
# pkg-config --cflags -- zlib zlib zlib
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'zlib' found
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'zlib' found
Package zlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `zlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'zlib' found
pkg-config: exit status 1
make: *** [build] Error 2
solution
# yum install zlib-devel.x86_64
problem when i compile the code
solution