Re: pgsql: psql: fix \connect with URIs and conninfo strings

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: psql: fix \connect with URIs and conninfo strings
Date: 2015-04-02 13:42:19
Message-ID: CA+TgmobJnM2LJJASDCC0QksW_Byp77=7oNCKQd7Aic=aZwd53A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Wed, Apr 1, 2015 at 9:58 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On other Linux machines, tests for dblink are failing:
> + ERROR: could not load library
> "/usr/src/pgfarm/build/HEAD/inst/lib/postgresql/dblink.so":
> /usr/src/pgfarm/build/HEAD/inst/lib/libpq.so.5: undefined symbol:
> libpq_connstring_is_recognized

I can't even build the server.

ar crs libpq.a fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o
fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o fe-secure.o
libpq-events.o chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o
pqsignal.o thread.o ip.o md5.o encnames.o wchar.o fe-secure-openssl.o
Undefined symbols for architecture x86_64:
"_libpq_connstring_is_recognized", referenced from:
_PQconnectStartParams in fe-connect.o
_PQsetdbLogin in fe-connect.o
"_libpq_connstring_uri_prefix_length", referenced from:
_parse_connection_string in fe-connect.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

This is really inconvenient.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-04-02 14:00:47 Re: pgsql: psql: fix \connect with URIs and conninfo strings
Previous Message Simon Riggs 2015-04-02 12:16:47 pgsql: Correct comment to use RS_EPHEMERAL