gcc linking error - libmysqlclient

2002-08-12 Thread John Francis
hi, i am writting a c program to connect to a mysql db and execute a bunch of select and update statements. When I try to compile the source it works properly but during linking i get this error: /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':

Re: gcc linking error - libmysqlclient

2002-08-12 Thread John Francis
Isn't it nice to find the answers to questions right after asking them and before anyone else can answer some link off google: It appears that what's happened here is that libmysqlclient wants to use the functions compress and uncompress, which at a guess are the ones in libz (the GNU zip