On 11 Apr 2001, at 18:07, Mohamed Ould wrote:
> > > > > > apache "make" abort with these errors:
> > > > > > usr/local/mysql/lib/libmysqlclient.a(my_compress.o
> > > > > > ): In function `my_uncompress':
> > > > > > my_compress.o(.text+0x9a): undefined reference to
> > > > > > `uncompress'
> > > > > > /usr/local/mysql/lib/libmysqlclient.a(my_compress.
> > > > > > o): In function `my_compress_alloc':
> > > > > > my_compress.o(.text+0x12a): undefined reference to
> > > > > > `compress' collect2: ld returned 1 exit status
> > > > > > make[2]: *** [target_static] Erreur 1 make[2]:

Look at what "make" is telling you Mohamed. During the 
linking stage of the make process the linker (ld) cannot
find references to either uncompress or compress. This 
means that gcc, which calls the linker, cannot find zlib.
This can be due to either:

- Missing library, or
- Misconfigured library search path (unlikely)

Normally zlib lives in /usr/lib. Check to see if you have a 
number of files like:

libz.a  libz.so  libz.so.1  libz.so.1.1.3  libzvt.a  libzvt.so  
libzvt.so.2  libzvt.so.2.2.3

(ls /usr/lib/libz*)

If not, find them and stick them there. Check also that
/etc/ld.so.conf contains /usr/lib as a library search path.

You can also run
        ldconfig -p | less
to see what search paths are configured.

Sometimes RPM doesn't work too well.

David

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to