Re: why can't I load pgxml.sql

From: Yi Zhao <yi(dot)zhao(at)alibaba-inc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: why can't I load pgxml.sql
Date: 2008-07-29 03:40:19
Message-ID: 1217302819.3262.16.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

my version is 8.3.3:
I found that it's part of the server.
is it said that I should build postgresql with libxml again??

On Mon, 2008-07-28 at 23:00 -0400, Tom Lane wrote:
> Yi Zhao <yi(dot)zhao(at)alibaba-inc(dot)com> writes:
> > 1. ./configure --with-libxml --with-libxslt
> > 2. make&&make install (successful)
> > 3. test=# \i /usr/local/pgsql/share/contrib/pgxml.sql
>
> > error appearance:
> > SET
> > psql:/usr/local/pgsql/share/contrib/pgxml.sql:10: ERROR: could not load
> > library "/usr/local/pgsql/lib/pgxml.so": /usr/lib/libxml2.so.2:
> > undefined symbol: gzopen64
>
> Well, you've still failed to mention most all of the relevant
> information, like what platform this is and what PG version.
> But what the above suggests is that libxml2 is linked to a
> version of libz that doesn't appear anywhere in the dynamic
> linker's search path. How did you obtain or build libxml2,
> exactly? If this is a Linux platform, I think you might have
> missed out a ldconfig call or two.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rajarshi Guha 2008-07-29 04:28:30 Re: a SQL query question
Previous Message Lennin Caro 2008-07-29 03:35:21 Re: Clone a database to other machine