Re: Why link libz into radius?
Sergey Poznyakoff <[email protected]> Tue, 11 Nov 2003 18:37:34 +0200
| Newsgroups | gmane.comp.gnu.radius.bugs |
|---|---|
| Organization | Farlep-Internet |
| Message-ID | <[email protected]> |
Maurice Makaay <[email protected]> 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