Build fails on RHEL 8.8 about libxml2 version

From: Sebastien Flaesch <sebastien(dot)flaesch(at)4js(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Build fails on RHEL 8.8 about libxml2 version
Date: 2023-10-19 08:36:50
Message-ID: DBAP191MB1289BB1FFAF7F03FE1A96299B0D4A@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Trying to build PostgreSQL 15 and 16 on RHEL 8.8:

[comp(at)havok postgresql-15.1]$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 (Ootpa)

[comp(at)havok postgresql-15.1]$ uname -a
Linux havok.strasbourg.4js.com 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Thu Aug 31 10:29:22 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

I got an error about libxml2 invalid version.

....
checking for inflate in -lz... yes
checking for xmlSaveToBuffer in -lxml2... no
configure: error: library 'xml2' (version >= 2.6.23) is required for XML support

But I see a 2.9.7:

[comp(at)havok postgresql-15.1]$ find /lib64/ -name "libxml2*"
/lib64/libxml2.so.2
/lib64/libxml2.so.2.9.7
/lib64/girepository-1.0/libxml2-2.0.typelib
/lib64/python3.6/site-packages/__pycache__/libxml2.cpython-36.opt-1.pyc
/lib64/python3.6/site-packages/__pycache__/libxml2.cpython-36.pyc
/lib64/python3.6/site-packages/libxml2.py
/lib64/python3.6/site-packages/libxml2mod.so

What am I missing here?

Seb

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomek 2023-10-19 09:47:21 Re: How can I accurately infer the output of a SELECT statement FROM a table with floating-point data type?
Previous Message David G. Johnston 2023-10-19 04:14:47 Re: How can I accurately infer the output of a SELECT statement FROM a table with floating-point data type?