Rafal Pietrak <ra...@zorro.isa-geek.com> writes:
> postmaster/postmaster.o: In function `PostmasterMain':^M
> postmaster.c:(.text+0x4bc8): undefined reference to `optreset'^M
> tcop/postgres.o: In function `process_postgres_switches':^M
> postgres.c:(.text+0x1422): undefined reference to `optreset'^M
> utils/misc/ps_status.o: In function `set_ps_display':^M
> ps_status.c:(.text+0xd4): undefined reference to `setproctitle'^M
> collect2: ld returned 1 exit status^M
> make[2]: *** [postgres] Error 1^M

We've heard of this happening as a result of libedit pulling in libbsd,
which provides (broken) versions of these symbols and thus confuses
configure into thinking they're present.  The "-ledit" in your link line
suggests that you are linking to libedit, but the rest of that is just
guesswork.  I'd suggest installing readline to see if the problem goes
away.

Here's a previous report:
http://archives.postgresql.org/pgsql-general/2011-11/msg00790.php

                        regards, tom lane


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

Reply via email to