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: Maurice Makaay
Subject: Re: [Bug-gnu-radius] Why link libz into radius?
Date: Tue, 11 Nov 2003 16:23:22 +0100

Hi,

> > One of the changes that has been made recently, is the linking to libz.
> > There seems to be a relation to libmysqlclient, but I can't figure out
> > what that relation is. Are there libmysqlclient versions that require
> > the linking to libz? 
> 
> Yes, they are. In fact, all versions of libmysqlclient either need it,
> or have it compiled in.

Is that true? If I look on my system, I have a libmysqlclient (version 10)
which is dynamically linked like this:

        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

So there's not a dynamic link for libz here. If I use "nm" to extract the
library symbold and try to find libz functions I can't find any.
"nm /usr/local/lib/libmysqlclient.so | grep gz" does not return any 
results. So I'm not sure If you are correct saying all mysql libraries
need libz. Moreover: why would you check for -lz in gnu-radius? The -lz
dependency should be checked when compiling mysql I think...

Regards,

-- Maurice Makaay




reply via email to

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