Results 1 to 9 of 9

Thread: How to install zlib?

  1. #1
    Join Date
    Jul 2010
    Location
    Americana - Brazil
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Question How to install zlib?

    Hello,

    I have to install zlib for running ./configure.
    Can anyone help me doing this? I typed "sudo apt-get install zlib" but it doesn't work...

    configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
    Thanks.

    edit: ubuntu 10.04

  2. #2
    Join Date
    May 2007
    Location
    New York, USA
    Beans
    278
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to install zlib?

    What package are you trying to compile when you run "./configure"?


    It's likely that the package you need is in the software repositories, so you don't have to compile it manually.

  3. #3
    Join Date
    Jul 2010
    Location
    Americana - Brazil
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to install zlib?

    eAthena (ragnarok server emulator)

    edit: it does have a zlib1.dll in its main folder

  4. #4
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

  5. #5
    Join Date
    Jul 2010
    Location
    Americana - Brazil
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to install zlib?

    After installing zlib (from zlib website) my SO crashed. Now it doesnt start anymore... I am reinstalling...

  6. #6
    Join Date
    Jul 2010
    Location
    Americana - Brazil
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to install zlib?

    I did all again, with an ubuntu CD i formated my computer and reinstalled ubuntu.
    Then i updated it, installed yakuake and zlib (http://www.zlib.net/ I downloaded: zlib source code, version 1.2.5, tar.gz format) with ./configure and make install.

    When i reboot my computer, it stoped working again... (do not open login window, just go to the background image, with mouse, and stops there forever)

    Does anyone know how to install zlib without crashing the whole system?

  7. #7
    Join Date
    Sep 2009
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to install zlib?

    Ok so I am having the same problem as you. I'll try this when i get home and let you know if it works.

    http://www.techsww.com/tutorials/lib...untu_linux.php

    In the mean time, to fix you're crashed system just follow these instructions:

    1. Boot into recovery mode through grub and login as you're self

    2. Go to the directory you unpacked zlib
    Code:
    cd ~/Downloads/zlib.#.#.#
    3. uninstall zlib
    Code:
    sudo make uninstall
    4. I'm not sure if this helps but I did it anyway
    Code:
    sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
    (Off hand i think the packge is zlib1g, use apt-cache --name-only search zlib or aptitude search zlib to find the one that closely matches it and run that apt-get command)

    This fixed my Ubuntu after I wasted my time and reinstalled my system and tried to install zlib again. So hopefully it can work for you too.
    Last edited by mortalapeman; July 12th, 2010 at 03:27 PM.

  8. #8
    Join Date
    Jul 2010
    Beans
    4

    Re: How to install zlib?

    this is being chatted here as well

    http://art.ubuntuforums.org/showthread.php?p=9628748

    and I have the same problem with zlib 1.2.5 and ubuntu10.04.

  9. #9
    Join Date
    Nov 2009
    Location
    India
    Beans
    52
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to install zlib?

    Even I had the same trouble and I had to reinstall the system 3 times. But here the solution.
    Try this, it worked well with me.
    go to
    System->Administration->Synaptic Package Manager
    search for zlib1g-dev and install the package. (My system didnot crash this time.)
    Simple as that...
    -Mathew

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •