I am attempting to build mysql++ on a Fedora Core 2 machine. The following rpms have been
I have to stay with MYSQL version 3.23.58 due to the existing installbase.
The configure.h file that is generated states that I do not have support for zlib,
however, I do, as the "rpm -qa" shows below.
rpm -qa | grep zlib*
The make process fails to complete because ld can't find -lz.
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [libmysqlpp.la] Error 1
make: Leaving directory `/home/insite/temp/mysql++-1.7.32/lib'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/insite/temp/mysql++-1.7.32'
make: *** [all] Error 2
I attempted to show "configure" where the zlib.h file is by adding an "--includedir"
option but this did not help.