Re: Misplaced pg_upgrade_support.so ?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Misplaced pg_upgrade_support.so ?
Date: 2010-06-07 22:59:24
Message-ID: 201006072259.o57MxOJ24741@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glen Barber wrote:
> >> exception of "--prefix=/usr/local/pgsql-beta2"; pg_upgrade_support.so
> >> ended up in /usr/local/pgsql-beta2/lib.
> >>
> >> Here is what I saw when running pg_upgrade initially:
> >>
> >> %pg_upgrade -d /var/db/pgsql/data \
> >> -D /var/db/pgsql/data2 \
> >> -b /usr/local/pgsql-beta1/bin \
> >> -B /usr/local/pgsql-beta2/bin
> >> Performing Consistency Checks
> >> -----------------------------
> >> Checking old data directory (/var/db/pgsql/data) ok
> >> Checking new data directory (/var/db/pgsql/data2) ok
> >>
> >>
> >> pg_upgrade_support.so must be created and installed in \
> >> /usr/local/pgsql-beta2/lib/postgresql/pg_upgrade_support.so
> >>
> >
> > pg_config --pkglibdir
> >
> > Thanks.
> >
>
> Sure thing:
>
> %pg_config --pkglibdir
> /usr/local/pgsql-beta2/lib/postgresql
>
> Let me know if I can provide any additional information.

That is interesting. I ran configure --prefix=/usr/local/pgsql-beta2
using CVS HEAD (which should match 9.0 beta2), and my output is
different:

$ ./pg_config --pkglibdir
/usr/var/local/pgsql-beta2/lib

Notice the "/postgresql" is missing. This is before running pg_upgrade.

I am attaching my entire pg_config output. Can I see yours? Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

Attachment Content-Type Size
unknown_filename text/plain 1.4 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glen Barber 2010-06-07 23:48:22 Re: Misplaced pg_upgrade_support.so ?
Previous Message Glen Barber 2010-06-07 21:41:46 Re: Misplaced pg_upgrade_support.so ?