[Xapian-discuss] Static Library Problem

Olly Betts olly at survex.com
Fri Apr 18 02:43:18 BST 2008


On Thu, Apr 17, 2008 at 07:58:03PM -0400, Alexandre Gauthier wrote:
> Le jeudi 17 avril 2008 à 16:42 -0700, Kevin Duraj a écrit :
> > I have the same issue when I was installing Xapian on new Linux CentOS
> > 5.1 server.
> > 
> > checking for strerror... yes
> > checking for hstrerror... yes
> > checking for working ISO C90 conforming snprintf... snprintf
> > checking for zlib.h... no
> > configure: error: zlib.h not found - required for flint (you may need
> > to install the zlib1g-dev or zlib-devel package)
> > 
> > Xapian could not be install because zlib.h compression library header
> > was not found in /usr/include/zlib.h
> > 
> > I tried to install "yum -y install zlib", I got message zlib is
> > already installed ...
> > Then I tried to uninstall zlib by "yum remove zlib*" ... and my old
> > IBM server finally died ... poor server, and they say IBM servers
> > never dies ...
> > I could not even issue "ls" statement after *LOL* ... never type this
> > command as root "yum remove zlib*" on your own server !
> 
> As the error message helpfully pointed out, you might want to try
> installing the zlib developpement package next time. :)
> 
> The proper package on RHEL is "zlib-devel", if I recall well.

The error message even mentions that package name as a possibility.

Suggestions for clarifying this message are welcome - I'm struggling
to see how it was misread as "please uninstall the zlib package".

Cheers,
    Olly



More information about the Xapian-discuss mailing list