Prem,
I had this problem and adding the library 'z' (whatever that is) helped.
Try putting -lz at the end of your compile line.
Regards,
Andy.

Prem Soman wrote:
> 
> i am using Linux 6.2(Zoot) and MySql 2.23.36and found the following error while 
> compiling the C program using mysql APIcc -o test prog1.c -L /usr/lib/mysql -I 
> /usr/include/mysql -lmysqlclientThe following Error occured 
> :/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 statusplease help me in understanding the 
> problem.
> 
> ---------------------------------
> Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to