Re: BUG #14742: build fails on psql

From: Chris Ruprecht <chris(at)cdrbill(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14742: build fails on psql
Date: 2017-07-14 17:12:52
Message-ID: 05E48F7A-C752-47EE-A3E7-434A5AEC7769@cdrbill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom,

That was the problem. There was a 9.6.3 version in /usr/local/lib.

Thank you!!

> On Jul 14, 2017, at 10:22, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> chris(at)cdrbill(dot)com writes:
>> Undefined symbols for architecture x86_64:
>> "_appendShellStringNoError", referenced from:
>> _psql_get_variable in common.o
>> "_psql_scan_set_passthrough", referenced from:
>> _MainLoop in mainloop.o
>> _main in startup.o
>
> appendShellStringNoError() and psql_scan_set_passthrough() should be in
> src/fe_utils/libpgfeutils.a, but they are both new as of v10. I suppose
> you're somehow linking against a 9.6 or earlier version of that
> library. Looking at the link line, -L/usr/local/lib is probably the
> source of the problem. Do you have any idea how it got there?
> I don't see an equivalent reference to the --prefix lib directory
> when I do this, so it's not that.
>
> regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Ruprecht 2017-07-14 17:14:48 Re: BUG #14742: build fails on psql
Previous Message Tom Lane 2017-07-14 16:33:34 Re: BUG #14742: build fails on psql