bug-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnu-radius] Why link libz into radius?


From: Sergey Poznyakoff
Subject: Re: [Bug-gnu-radius] Why link libz into radius?
Date: Tue, 11 Nov 2003 18:37:34 +0200

Maurice Makaay <address@hidden> wrote:

> results. So I'm not sure If you are correct saying all mysql libraries
> need libz.

Well, I should have better said: they all need compress() call. Indeed,
it may reside in another library, in which case requiring -lz would
be superfluous.

> Moreover: why would you check for -lz in gnu-radius? The -lz
> dependency should be checked when compiling mysql I think...

The -lz dependency is pulled automatically when linking against a shared
library. However, many distributions ship only static mysql libraries,
in which case -lz has to be specified explicitely. The lack of it caused
many complaints to the list in the past.

I will rewrite the relevant part of configure to automatically decide
whether -lz is needed or not.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]