MySQL and C++
When I compile my C++ file i have errorgcc -I/usr/include/mysql myfile.c -L/usr/lib/mysql -lmysqlclient -o myfile.cgi
it gives me this error: /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
Even is i add -LZ the programm is not working correctly and sometimes get internal server error
Why?
