Re: wrong error from ./configure in pgsql 8.3.8 for libxml

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: wrong error from ./configure in pgsql 8.3.8 for libxml
Date: 2009-09-17 03:31:30
Message-ID: dcc563d10909162031p45d20717j4d59a3bbdb0c564@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Sep 16, 2009 at 8:57 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
>> Was building pgsql 8.3.8 from source on a new install of Centos 5.2,
>> and got this error from ./configure --with-libxml :
>
>> checking for xmlSaveToBuffer in -lxml2... no
>> configure: error: library 'xml2' (version >= 2.6.23) is required for XML support
>
>> But I had libxml2 v 2.6.26 or so installed.  The real problem was that
>> libxml2-devel wasn't installed.
>
> Well, in point of fact the library is *not* there so far as configure
> can tell --- there's no libxml2.so or libxml2.a file.  And in any case

Ahhh, I see, the regular rpm installs the libxml2.so, the -devel
installs the link to libxml2.so.2.6.26

Got it.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2009-09-17 04:01:57 Re: Unicode normalization
Previous Message Tom Lane 2009-09-17 03:10:52 Re: Segmentation Fault during database restoration