BUG #14742: build fails on psql

From: chris(at)cdrbill(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Cc: chris(at)cdrbill(dot)com
Subject: BUG #14742: build fails on psql
Date: 2017-07-14 12:51:06
Message-ID: 20170714125106.9231.13772@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14742
Logged by: Chris Ruprecht
Email address: chris(at)cdrbill(dot)com
PostgreSQL version: 10beta2
Operating system: macOS 10.12.5
Description:

The build fails at this point:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 command.o
common.o conditional.o copy.o crosstabview.o describe.o help.o input.o
large_obj.o mainloop.o prompt.o psqlscanslash.o sql_help.o startup.o
stringutils.o tab-complete.o variables.o -L../../../src/common -lpgcommon
-L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq
-L../../../src/port -L../../../src/common -L/usr/local/lib
-Wl,-dead_strip_dylibs -L../../../src/fe_utils -lpgfeutils -lpq -lpgcommon
-lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm
-o psql
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
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Configure options are:

./configure \
--prefix=/usr/local \
--enable-integer-datetimes \
--enable-thread-safety \
--with-perl \
--with-python \
--with-gssapi \
--with-openssl \
--with-pam \
--with-zlib \
--with-libxml \
--with-libxslt \
--with-uuid=e2fs \
--with-perl \
--with-wal-segsize=64 \
--with-wal-segsize=16 \
--with-bonjour

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2017-07-14 13:07:46 Re: BUG #14634: On Windows pg_basebackup should write tar to stdout in binary mode
Previous Message Ashutosh Bapat 2017-07-14 08:54:21 Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING