Zlib Error Webkit

Zlib Error Webkit

I downloaded the WebKit source code and I am building the source code on ubuntu 10.04 After executing below command, i got errors related to glib-2.31.2.

./autogen.sh --prefix=/usr

I solved those errors and again issued above command. I got below errors.

checking for ZLIB... configure: error: Package requirements (zlib) were not met:

No package 'zlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ZLIB_CFLAGS
and ZLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Thanks.

2 Answers

It appears that you are missing the development files for zlib (not glib). Would a simple:

sudo apt-get install zlib1g-dev

fix that?

Install zlib on Linux web server

For ubuntu, or debian based distribution

# apt-get update && apt-get install libgcrypt11-dev zlib1g-dev

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.