HostOnNet Blog

error: zlib not found on system or in local libs

On installing gpac i got following error on Debian 4

latinvideo1:/usr/local/src/gpac# sh ./configure
error: zlib not found on system or in local libs
latinvideo1:/usr/local/src/gpac#

This is fixed by installing zlib.

apt-cache search zlib
apt-get install zlib-bin zlib1g zlib1g-dev zlibc

Posted in Linux

  • anisa

    i try to follow your instruction on installation zlib
    apt-cache search zlib — this command doesn’t give any error
    but ..
    apt-get install zlib-bin zlib1g zlib1g-dev zlibc—give this error
    E: could not open lock file /var/lib/dpkg/lock – open (13 permision denied)
    E: unable to lock the administration directory (/var/lib/dkpg/), are you root?
    i really need your help…how to solve this problem..i’m using ubuntu9.04

  • Jonathan A. Quiñones Dávalos

    you should be as root user 🙂

  • Jonathan A. Quiñones Dávalos

    with command : su
    after writte root’s password and writte again your code.