pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedplpgsql.so undefined symbol error in pg_upgrade check
3+ messages / 2 participants
[nested] [flat]
* plpgsql.so undefined symbol error in pg_upgrade check
@ 2016-08-18 19:27 Mark Steben <mark.steben@drivedominion.com>
0 siblings, 1 reply; 3+ messages in thread
From: Mark Steben @ 2016-08-18 19:27 UTC (permalink / raw)
To: pgsql-admin
Good afternoon.
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 is pointing to the old 9.2 setup. Of course running with the --check
option I have not shut down 9.2 nor started up 9.4.
Thanks for your time and attention.
--
*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/;
<http://autobasedigital.net/marketing/DD12_sig.jpg;
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: plpgsql.so undefined symbol error in pg_upgrade check
@ 2016-08-18 20:09 Tom Lane <tgl@sss.pgh.pa.us>
parent: Mark Steben <mark.steben@drivedominion.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2016-08-18 20:09 UTC (permalink / raw)
To: Mark Steben <mark.steben@drivedominion.com>; +Cc: pgsql-admin
Mark Steben <mark.steben@drivedominion.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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: plpgsql.so undefined symbol error in pg_upgrade check
@ 2016-08-19 13:34 Mark Steben <mark.steben@drivedominion.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Mark Steben @ 2016-08-19 13:34 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: 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@sss.pgh.pa.us> wrote:
> Mark Steben <mark.steben@drivedominion.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/;
<http://autobasedigital.net/marketing/DD12_sig.jpg;
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-08-19 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-18 19:27 plpgsql.so undefined symbol error in pg_upgrade check Mark Steben <mark.steben@drivedominion.com>
2016-08-18 20:09 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-08-19 13:34 ` Mark Steben <mark.steben@drivedominion.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox