zlib linker flag missing?
Status: Inactive
Brought to you by:
pghowlett
Make returned with error during compilation:
c++ -g -O2 -L/usr/lib/mysql -o nicole dictionary.o
vocabulary.o parser.o matrix.o log.o database.o
dbresult.o responder.o nicole.o -lmysqlclient
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In
function `my_uncompress':
my_compress.o(.text+0x97): undefined reference to
`uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In
function `my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to
`compress'
collect2: ld returned 1 exit status
This was fixed by appending "-lz" to the "LDFLAGS"
variable in src/Makefile
System info: linux 2.4.18, mysql 3.23.29a-1