← Back to team overview

maria-developers team mailing list archive

compile issue and the -lz flag

 

Hi all:
when compiling on x64 systems (i.e. CentOS & Fedora core 10) and using the
BUILD/compile-pentium64-max, I'm getting the -lz error "/usr/bin/ld: cannot
find -lz" and when I simplify the ./comfigure line to a --without-zlib it
works. So, after modifing the configure flags that results into:
./configure --prefix=/u02/local/mysql-5.1.34 --enable-assembler
--with-extra-charsets=complex --enable-thread-safe-client --with-big-tables
--with-readline --with-ssl --with-plugins=max --with-embedded-server
--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
--without-zlib --enable-local-infile

It still has problems with the -lz flag, so does anybody know what is
bringing the -lz into the configure?  Note: I've also tried
--with-zlibdir=/usr/lib64, but same error.

Thanks tons.

Follow ups