Hello MySQL authors

On RedHat there's no need to add "-lz" to the linker options, on Debian it
is (when using the statically libmyslclient.a). Is this a bug somewhere
in the makefile or anyways, should compress be in the .a lib or is it ought
to be added manually with -lz?

bye,

    -christian-

-- 
   You know you're a nerd when your os uptime is longer than 
   you've ever had a girlfriend.      ([EMAIL PROTECTED])


Yup, that fixes it.. thanks. I wonder why it compiled OK on redhat but
not debian.

On Sun, Jan 21, 2001 at 01:10:16PM +0100, Christian Hammers wrote:
> On Sat, Jan 20, 2001 at 09:03:45PM -0500, Ari Pollak wrote:
> > /usr/lib/libmysqlclient.a(my_compress.o): In function
> > `my_compress_alloc':
> > my_compress.o(.text+0xb9): undefined reference to `compress'
> 
> This function is provided by libz (zlib1g.deb). Does adding a -lz to the
> linker arguments fix your problem? 
> 
> I don't know if thats now a proftpd Makefile problem or a mysql problem.
> 
> bye,
> 
>     -christian-
> 
> -- 
>               Save the forests, eat more beavers!

-- 
   ___   ___     
  / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.compwiz.nu
 / __ |/ ___/  ICQ #749825 - AOL IM: aripollak
/_/ |_/_/     Forget the Joneses...I can't keep up with the SIMPSONS!

PGP signature



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to