Hi Amit,
Thanks for your suggestion, i have solved this problem
by using the MySQL-shared library in place of static
library.
bye,
Sunil Parolia
--- Amit Soni <[EMAIL PROTECTED]> wrote:
> > > Hi friends,
> > >
> > > using the following command line parameters.
> > >
> > > $cc -L/usr/lib/mysql myap
> > Hi friends,
> >
> > using the following command line parameters.
> >
> > $cc -L/usr/lib/mysql myapp.c -o myapp -lm -lmysqlclient
> >
> > The error message that I get is:
> > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
OK sunil ! the MySQL help says..
Add -lg