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

Paul Makepeace Paul.Makepeace at realprogrammers.com
Thu, 28 Jun 2001 16:46:14 -0700


On Fri, Jun 29, 2001 at 12:02:40AM +0100, Chris Lightfoot wrote:
> Yes, but I like to use sed,

Madness! :)

> 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.

Paul