From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Nykolyn, Andy (AS)" <andrew(dot)nykolyn(at)ngc(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Error Creating DBlink Extension in 9.4.1 |
Date: | 2015-04-08 21:22:51 |
Message-ID: | 15842.1428528171@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Nykolyn, Andy (AS)" <andrew(dot)nykolyn(at)ngc(dot)com> writes:
> I get the following error in my 9.4.1 database when I issue the command:
> Create extension dblink;
> ERROR: could not load library "/usr/local/pgsql941/lib/dblink.so": /usr/local/pgsql941/lib/dblink.so: undefined symbol: PQsetSingleRowMode
> Is this a bug or did I do something wrong? Any help would be greatly appreciated. Thanks
It looks like dblink.so is getting linked to an old version of libpq.so
(very old, like pre-9.2). Probably that's whatever is in /usr/lib.
If you don't want to update /usr/lib, you'll need to rebuild with an
"rpath" pointing at the installation location for 9.4. (Note that PG
usually is built with rpath pointing at whatever configure was told the
installation location would be; so you might have brought this on yourself
by relocating the directory tree from its initial location.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2015-04-08 21:25:44 | Re: Finding values of bind variables |
Previous Message | Nykolyn, Andy (AS) | 2015-04-08 21:11:45 | Error Creating DBlink Extension in 9.4.1 |