hello,

I am using Redhat 9.0, and have installed mysql-3.23.58,
now when i try to compile C program which uses mysql functions,
i got the following error messages


[root@rohans Mysqlpgms]# gcc -o first first.c -I/usr/local/mysql/include/ -L/usr/local/mysql/lib/ -lmysqlclient
/usr/local/mysql/lib//libmysqlclient.a(my_compress.o)(.text+0xb4): In function `my_compress_alloc':
: undefined reference to `compress'
/usr/local/mysql/lib//libmysqlclient.a(my_compress.o)(.text+0x12a): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status

what could be reason for this
Plz tell me.....

Regards
Rohan Shrivastava