Results 1 to 5 of 5

Thread: Help! Can't find/create libz.a

  1. #1
    Join Date
    May 2010
    Location
    Silicon Valley, CA, USA
    Beans
    5
    Distro
    Ubuntu

    Help! Can't find/create libz.a

    Please excuse if this is in the wrong forum, I'm new here. We are running Ubuntu and I want to install an oldish drawing program (inkscape, although that's not relevant). The configure file for inkscape wants libpng and the configure file for libpng wants something called "zlib" which it checks for via the "-lz" option.

    There appears to be something available online called zlib but it only makes "uncompress.so" I am getting absolutely nowhere trying to figure out whether I should just rename it as libz.a (seems wrong) or whether I even have the right package to make whatever libpng wants when it is asking for the "-lz" option.

    Anyone know? I'd appreciate any suggestions.

    Mods: If this is in the wrong place, feel free to move. If it's in the wrong forum, please let me know if you know what the right forum might be!

    Thanks,

    Richard (the system won't let me use the nickname everyone calls me by!)

  2. #2
    Join Date
    May 2007
    Location
    the Netherlands
    Beans
    647
    Distro
    Ubuntu Development Release

    Re: Help! Can't find/create libz.a

    Welcome to the forums! Can't you just install libpng12-dev (or perhaps libpnglite-dev) from the repos?
    "Let your roots dig deep into the hot soil... Let our scorching sun and sheeting rain turn your supple beauty into strength. For if our love is to survive, it must grow thorns to pierce the hand of any that would uproot it!"

  3. #3
    Join Date
    May 2010
    Location
    Silicon Valley, CA, USA
    Beans
    5
    Distro
    Ubuntu

    Re: Help! Can't find/create libz.a

    Probably could if I knew what the "repos" were! But I do notice there are Ubuntu packages containing similar libraries as well -- is that what you meant?

    Your suggestion seems like it might be one possible solution, but I won't be able to try it now for a day or two. Thanks!

  4. #4
    Join Date
    May 2007
    Location
    the Netherlands
    Beans
    647
    Distro
    Ubuntu Development Release

    Re: Help! Can't find/create libz.a

    Quote Originally Posted by tictran View Post
    Probably could if I knew what the "repos" were!
    That would help, yes . I guess over the years I have become comfortable with a fair amount of jargon, and occasionally forget not everyone else has as well.

    But I do notice there are Ubuntu packages containing similar libraries as well -- is that what you meant?
    - Yes. Repo is short for "repository", in this case meaning a central collection of ubuntu software packages. Online repos are accessible using the synaptic package manager, or by using the command "apt-get" in a terminal. For example, to install the development files of libpng, you would run:

    sudo apt-get install libpng12-dev

    - in a terminal. Or: go to System-->Administration-->Synaptic Package Manager and do a search for that package there. For more info:
    https://help.ubuntu.com/community/Repositories/Ubuntu

    Your suggestion seems like it might be one possible solution, but I won't be able to try it now for a day or two. Thanks!
    Good luck.
    "Let your roots dig deep into the hot soil... Let our scorching sun and sheeting rain turn your supple beauty into strength. For if our love is to survive, it must grow thorns to pierce the hand of any that would uproot it!"

  5. #5
    Join Date
    May 2010
    Location
    Silicon Valley, CA, USA
    Beans
    5
    Distro
    Ubuntu

    Re: Help! Can't find/create libz.a

    Worked like a champ! Thanks for the suggestion.

    Of course there were a zillion other libraries it then required but with patience I eventually found all of them.
    Last edited by tictran; May 17th, 2010 at 08:53 PM.

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
  •