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

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

From
"Ricardo Antonio Yepez Jimenez"
Date:

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

 

Gracias,


.

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

From
Devrim GÜNDÜZ
Date:
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

Attachment

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

From
Devrim GÜNDÜZ
Date:
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

Attachment