pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Artem Tomyuk <admin@leboutique.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_upgrade fails
Date: Thu, 05 Nov 2015 10:58:23 -0500
Message-ID: <7863.1446739103@sss.pgh.pa.us> (raw)
In-Reply-To: <CANYYVqKfT_Qu7fxMoUjJG51KyOMNim3Yc7GXnbdXqbGcuNqWSw@mail.gmail.com>
References: <CANYYVqKfT_Qu7fxMoUjJG51KyOMNim3Yc7GXnbdXqbGcuNqWSw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Artem Tomyuk <admin@leboutique.com> writes:
> Trying to upgrade from 9.1 to 9.4
> Upgrade fails with error:
> Could not load library "$libdir/dblink"
> ERROR:  could not load library "/usr/pgsql-9.4/lib/dblink.so":
> /usr/pgsql-9.4/lib/dblink.so: undefined symbol: PQsetSingleRowMode

dblink.so is apparently trying to link to the 9.1 version of libpq.so,
which lacks some functions that exist in 9.4.  You probably need to
install the 9.4 libpq.so library first (it should work with 9.1 callers,
unlike vice versa).

			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



view thread (3+ messages)

Message-ID: <7863.1446739103@sss.pgh.pa.us>
Permalink:  ../7863.1446739103@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7863.1446739103@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, admin@leboutique.com
  Subject: Re: pg_upgrade fails
  In-Reply-To: <7863.1446739103@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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