Add -lz to your linking options and all should go well.
"Dave Juntgen" <[EMAIL PROTECTED]> wrote:
Hello everyone..
I am trying to compile a CGI program written in C statically and I keep
getting this one error. I am using MySQL version 3.23.31, the compiler
error below shows that it is libmysqlclient.a that is having problems.
Can anyone help?
-Lgd -lgd -lcrypt -I/usr/local/mysql/include/mysql
-L/usr/local/mysql/lib/mysql -lmysqlclient
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x99): undefined reference to `uncompress'
---------------------------------------------------------------------
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