From: | Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Misplaced pg_upgrade_support.so ? |
Date: | 2010-06-07 23:48:22 |
Message-ID: | 4C0D8546.6010809@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
beta1_pgconfig.txt | text/plain | 1010 bytes |
beta2_pgconfig.txt | text/plain | 1010 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Eliot Gable | 2010-06-08 00:00:50 | Re: Random Weighted Result Ordering |
Previous Message | Bruce Momjian | 2010-06-07 22:59:24 | Re: Misplaced pg_upgrade_support.so ? |