From: | Mark Steben <mark(dot)steben(at)drivedominion(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: plpgsql.so undefined symbol error in pg_upgrade check |
Date: | 2016-08-19 13:34:27 |
Message-ID: | CADyzmyyOGctF8c=jLtOVMd7BJ8oJV3SHppsKXGmB4XXsFhvCow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tom I do have two lib directories and and two bin directories but you were
right
in that I was trying to load a 9.2 library into a 9.4 server. I had a
symlink pointing
to the 9.2 binaries. Once I killed the symlink and recreated it pointing
to the 9.4 binaries the problem went away. Thanks for the insight.
On Thu, Aug 18, 2016 at 4:09 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Mark Steben <mark(dot)steben(at)drivedominion(dot)com> writes:
> > I am planning a 9.,2 to 9.4 upgrade using pg_upgrade with the link
> option.
> > Thanks first to Tom Lane for the prompt answer last week. I have
> installed
> > 9.4 in the same disk as 9.2 and running pg_upgrade with the --check
> option
> > I get this error:
>
> > ERROR: could not load library
> > "/usr/local/pgsql_production/lib/plpgsql.so":
> > /usr/local/pgsql_production/lib/plpgsql.so: undefined symbol: errcontext
>
> This would seem to indicate that you are trying to load a 9.2 library into
> the 9.4 server or vice versa. You really need to have different lib
> directories, as well as different bin directories, for the two versions.
>
> regards, tom lane
>
--
*Mark Steben*
Database Administrator
@utoRevenue <http://www.autorevenue.com/> | Autobase
<http://www.autobase.net/>
CRM division of Dominion Dealer Solutions
95D Ashley Ave.
West Springfield, MA 01089
t: 413.327-3045
f: 413.383-9567
www.fb.com/DominionDealerSolutions
www.twitter.com/DominionDealer
www.drivedominion.com <http://www.autorevenue.com/>
From | Date | Subject | |
---|---|---|---|
Next Message | ChandraKiran Lingareddy | 2016-08-19 14:38:41 | While setting up new DR for 9.2 server I am facing some errors |
Previous Message | Marco Nietz | 2016-08-19 09:17:09 | Re: Postgres + Docker |