Re: plpgsql.so undefined symbol error in pg_upgrade check

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Steben <mark(dot)steben(at)drivedominion(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: plpgsql.so undefined symbol error in pg_upgrade check
Date: 2016-08-18 20:09:33
Message-ID: 23034.1471550973@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ravi Tammineni 2016-08-18 21:00:06 What is the best way to create Primary Key on a large table in Postgresql 9.5?
Previous Message Mark Steben 2016-08-18 19:27:00 plpgsql.so undefined symbol error in pg_upgrade check