You need to rebuild PostgreSQL using --with-libxml.

Started by Ricardo Antonio Yepez Jimenezover 17 years ago3 messagesgeneral
Jump to latest
#1Ricardo Antonio Yepez Jimenez
RAYEPEZJ@seniat.gov.ve

Buenos Dias, necesito saber los pasos para recompilar con soporte para
xml, en redhat 4 entreprise y postgres 8.3.

Gracias,

.

#2Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Ricardo Antonio Yepez Jimenez (#1)
Re: You need to rebuild PostgreSQL using --with-libxml.

Hi,

On Thu, 2008-09-04 at 10:18 -0430, Ricardo Antonio Yepez Jimenez wrote:

Buenos Dias, necesito saber los pasos para recompilar con soporte
para
xml, en redhat 4 entreprise y postgres 8.3.

You cannot compile PostgreSQL 8.3 on RHEL 4 with xml support -- unless
you install libxml2 from sources. RHEL ships 2.6.16 version of libxml,
but PostgreSQL requires 2.6.23 at least.

Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org

#3Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Devrim GÜNDÜZ (#2)
Re: You need to rebuild PostgreSQL using --with-libxml.

Hi,

Please CC your replies to the list, too:

On Thu, 2008-09-04 at 12:20 -0430, Ricardo Antonio Yepez Jimenez wrote:

Gracias Devrim , ya instale la librería libxml2, pero sigue sin
funcional cuando ejecuto un select xmlelement, arroja el siguente
error

You need to rebuild PostgreSQL using --with-libxml.

(I don't know Spanish or such -- I'm using Google to translate these
into English ;) )

After installing libxml2 from sources, you will need to recompile
PostgreSQL against these sources...

If I were you, I would find a way to upgrade to RHEL 5 -- all problems
would go away.

Regards,

--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org