Dushyanth Harinath wrote:

> > > configure:1953: gcc -o conftest -g -O2  -I/usr/include/mysql
> -L/usr/lib/mysql c
> > > /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
> > > configure: failed program was:
> > > #line 1942 "configure"
> > > #include "confdefs.h"
> > > /* Override any gcc2 internal prototype to avoid an error.  */
> > > /* We use char because int might match the return type of a gcc2
> > >     builtin and then its argument prototype would still apply.  */
> > > char mysql_connect();
> 
> The dependency line in libmysqlclient.la shows this
> 
> dependency_libs=' -lnsl -lm -lz -lcrypt '

Alexander, doesn't this mean it should have used libz (and thus find
compress) automatically?
Isn't that what libtool does? Or doesn't configure use libtool?

> and i have this file in 2 places (i,e) in /usr/lib and /usr/lib/mysql

That does seem weird. Did you install MySQL from source? Did it do this
itself?

> Iam running mandrake7.2

Me too.

> dushy

That brought a smile to my face :) "Dushy" means "Sweatheart" in
Papiamentu (language
spoken on the dutch antilles).

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to