On Wed, Jan 17, 2001 at 05:49:10PM +0100, Thor wrote:
> > > configure:2358: gcc -o conftest -g -O2 -I/usr/lib/glib/include  
>-I/usr/share/mysql/include -I/usr/local/include  -L/usr/share/mysql/lib 
>-L/usr/local/lib conftest.c -lmysqlclient  -lm -lcrypt  -L/usr/lib -lglib 1>&5
> > > /usr/share/mysql/lib/libmysqlclient.a(my_compress.o): In function 
>`my_uncompress':
> > > my_compress.o(.text+0x9f): undefined reference to `uncompress'
> > > /usr/share/mysql/lib/libmysqlclient.a(my_compress.o): In function 
>`my_compress_alloc':
> > > my_compress.o(.text+0x13b): undefined reference to `compress'
> > 
> > There will be a bit in config.log about 'checking for library
> > containing compress'. Could you send the lines below that? That's
> > where the problem is, appearantly. Do you have libz?
> > 
> > Emile
> 
> Yes, I knew I had libz installed, and looking in the rpm database I discovered 
>another libz;  libz-devel. 
> After installing this, the configure process worked like a charm.
General advice: contemporary packaging rules for most RH-like distributions
define that tools needed to compile applications which use some library XYZ
should be in package XYZ-devel while package XYZ usually contains only
shared library as run-time part neccessary to run application.
So, if you want to build something which uses, f.e. libz, you should
install libz-devel as well.

-- 
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
-- "Trust me.  I know what I'm doing."
-- Sledge Hammer

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

Reply via email to