[tpop3d-discuss] --enable-mysql-auth configure failure.

Chris Lightfoot chris at ex-parrot.com
Fri, 29 Jun 2001 01:01:29 +0100


On Thu, Jun 28, 2001 at 04:46:14PM -0700, Paul Makepeace wrote:
> On Fri, Jun 29, 2001 at 12:02:40AM +0100, Chris Lightfoot wrote:
> > Yes, but I like to use sed,
> 
> Madness! :)

Heh.

> > Hmm. I'm not sure what the `correct' way to deal with this
> > is. I would hope it's possible to get by without an
> > explicit `does -lmysqlclient require -lz?' test. Does the
> 
> If you're using mysqlclient you have to provide (un)compress. So then you
> have to check where they are, either in libc (I think) or libz.
> 
> You could do something brute force like,
> 
>  (cd /usr/lib; for i in *.a; do nm $i |
>  	perl -ne 'print $1 if /^[0-9]+ t (\w+)$/i' > /tmp/$i.nm; done)
> 
> And then grep -l compress /tmp/*.nm to divine the location of various
> functions.

That's no problem -- I'm not worried about figuring out
which library contains compress/uncompress, simply
answering the question `does -lmysqlclient require -lz?'

Admittedly we could just change the configure script to
put -lz in whatever happens. But that's ugly.

Mark-- any thoughts?

-- 
Chris Lightfoot -- www.ex-parrot.com/~chris/
 ``Fog In Channel: Continent Cut Off'' (newspaper headline, c. 1905)