What exactly does "libz" refer to?

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
lee
Posts: 3
Joined: March 15th, 2009, 10:14 pm

What exactly does "libz" refer to?

Post by lee »

Hi,

the docs say you need libz installed to compile. What does this library provide?

A libz or libz-dev doesn't exist in Debian, though there is a library to handle zip archives.

In general, when specifying what libraries or packages are needed to compile something, it would be very helpful to give a description of what the particular library or package provides: The same thing can have different names on different distributions, and there can be many packages in one distribution that have very similar names. Having a description would greatly help to figure out which package is actually needed.
AI
Inactive Developer
Posts: 2396
Joined: January 31st, 2008, 8:38 pm

Re: What exactly does "libz" refer to?

Post by AI »

My debian (lenny) says libz-dev is a virtual package provided by zlib1g-dev. It got pulled in by libsdl-image1.2-dev, which is also needed for compiling wesnoth. (along with libsdl-mixer1.2-dev, libsdl-net1.2-dev, libsdl-ttf2.0-dev, libsdl1.2-dev and several other libraries)
Post Reply