Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4

From: "Aswani Kumar" <Aswani(dot)Kumar(at)idinsight(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4
Date: 2008-06-30 17:58:46
Message-ID: DB7AD403F5352446ABC673FD072BAEAD020AF7E2@TIPRODMAIL1.teaminformatics.domain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks a lot for the help. I changed the /etc/ld.so.conf to include the
libxml2 directories and did /sbin/ldconfig -v . Postgres initdb started
fine after that.

Thanks
Aswin

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, June 27, 2008 4:46 PM
To: Aswani Kumar
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] problem getting postgres 8.3.1 with xml support
to work on Redhat Enterprise Linux 4

"Aswani Kumar" <Aswani(dot)Kumar(at)idinsight(dot)com> writes:
> The Postgres was built using ./configure
> XML2_CONFIG=/usr/local/libxml/bin/xml2-config
> --prefix=/usr/local/postgresql-8.3.1 --with-libxml. Libxml2-2.6.32
was
> built using ./configure --prefix=/usr/local/libxml and is the
location
> pointed to in the Postgres configure script.

Linux isn't real friendly to putting shared libraries outside the
standard directories. If you want to keep libxml2.so in its own
directory
you'll need to teach the dynamic linker to look there. See ldconfig.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2008-06-30 18:03:10 Re: tsearch strategy for incremental search
Previous Message Pierre Thibaudeau 2008-06-30 17:33:21 Re: tsearch strategy for incremental search