Re: Misplaced pg_upgrade_support.so ? - Mailing list pgsql-general

From Glen Barber
Subject Re: Misplaced pg_upgrade_support.so ?
Date
Msg-id 4C0D8546.6010809@gmail.com
Whole thread Raw
In response to Re: Misplaced pg_upgrade_support.so ?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Misplaced pg_upgrade_support.so ?
List pgsql-general
On 6/7/10 6:59 PM, Bruce Momjian wrote:
> 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.
>

Interestingly, I apparently would have had this issue with beta1:

    %pwd
    /usr/local/pgsql-beta1/bin
    %./pg_config --pkglibdir
    /usr/local/pgsql-beta1/lib/postgresql
    %cd ../../pgsql-beta2/bin/
    %./pg_config --pkglibdir
    /usr/local/pgsql-beta2/lib/postgresql

I've attached pg_config output for both.  To rule out something off with
my environment, I'm currently setting up a test environment on a
different machine, where I'll check out HEAD as well as beta1 and beta2.
  Unless, of course, I'm missing something very obvious in the attached
output.

Regards,

--
Glen Barber

Attachment

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Misplaced pg_upgrade_support.so ?
Next
From: Eliot Gable
Date:
Subject: Re: Random Weighted Result Ordering