Install Zlib In Ubuntu (with Zlib1.2.3 local download)

Source: Internet
Author: User
Compile the software in Ubuntu. /Get error feedback in configure. The libraries contained in didyouinstalledzlibandzlib-unzip packageszlib are often used by some software compression or decompression functions, therefore, if Zlib is required during software compilation, it indicates that the software contains compression or decompression functions. We need to install the zlib software package. Tried sudoapt-getinsta

Get error feedback when compiling software./configure in Ubuntu

Zlib missing, did you installed zlib and zlib-developer packages

The libraries in Zlib packages are often used by some software compression or decompression functions. Therefore, if Zlib is required for software compilation, it indicates that the software contains compression or decompression functions, we need to install the zlib package.

I tried sudo apt-get install zlib. It seems that the Ubuntu official source does not contain the zlib package. You can download it from the official zlib website.

You can also download the source code from the Linux community to install the zlib package.

Currently the newest javaszlibis zlib-1.2.3.tar, download see http://www.linuxidc.com/Linux/2012-06/61982p2.htm download after the installation starts;

$ Tar-xvzf zlib-1.2.3.tar.gz
$ Zlib-1.2.3.tar.gz cd
$./Configure
$ Make
$ Sudo make install

This completes the installation of zlib1.2.3. Because zlib1.2.3 needs to be compiled, the most basic compiler should be installed.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.