Re: [BUGS] BUG #14742: build fails on psql - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14742: build fails on psql
Date
Msg-id 4841.1500042127@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14742: build fails on psql  (chris@cdrbill.com)
Responses Re: [BUGS] BUG #14742: build fails on psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [BUGS] BUG #14742: build fails on psql  (Chris Ruprecht <chris@cdrbill.com>)
List pgsql-bugs
chris@cdrbill.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [BUGS] BUG #14634: On Windows pg_basebackup should write tar tostdout in binary mode
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14742: build fails on psql