"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