MySQL Forums
Forum List  »  Install & Repo

Problems building 4.0.20
Posted by: Niels Bjergstrom
Date: August 09, 2004 12:42PM

Make error:

/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[4]: *** [mysqld] Error 1
make[4]: Leaving directory `/usr/src/mysql-4.0.20/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/mysql-4.0.20/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/mysql-4.0.20/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-4.0.20'
make: *** [all] Error 2

Config:

/usr/src/mysql-4.0.20# CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static

Computer: standard p4

Opsys: Debian woody

gcc 2.95.4
make 3.79.1

Header file problem of some sort? Any ideas?

Thanks
Niels

Options: ReplyQuote


Subject
Written By
Posted
Problems building 4.0.20
August 09, 2004 12:42PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.