Обсуждение: FreeBSD 4.2 readlib issue
Branson Matheson (branson@ferguson.com) reports a bug with a severity of 1 The lower the number the more severe it is. Short Description FreeBSD 4.2 readlib issue Long Description Compiling under freebsd gives this problem: gcc -I../../include -I../../backend -O2 -m486 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../interfaces/libpq-o psql command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o variables.olarge_obj.o print.o describe.o tab-complete.o -L../../interfaces/libpq -lpq -lcrypt -lcompat -lln -lm -lutil -lreadline-ltermcap -lncurses -export-dynamic tab-complete.o: In function `psql_completion': tab-complete.o(.text+0x53): undefined reference to `rl_completion_append_character' tab-complete.o(.text+0x1496): undefined reference to `rl_completion_append_character' Sample Code No file was uploaded with this report
pgsql-bugs@postgresql.org writes: > tab-complete.o: In function `psql_completion': > tab-complete.o(.text+0x53): undefined reference to `rl_completion_append_character' > tab-complete.o(.text+0x1496): undefined reference to `rl_completion_append_character' What Postgres version are you using? There's been a configure test for ancient libreadlines without rl_completion_append_character in there for awhile now. If you don't want to update your postgres, updating your libreadline would work too ;-) regards, tom lane