Emiliano wrote:
> 
> 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?
yes, if libz.so is visible to ldconfig

> Isn't that what libtool does? Or doesn't configure use libtool?
Our configure in Midgard-lib uses libtool, yes.

> > 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.
Me too, without any problems.


-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
   IPLabs Linux Team    |     linux.iplabs.ru     | Architecte Open Source
-- A shortcut is the longest distance between two points.

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

Reply via email to