From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jeffrey Trimble <jtrimble(at)cc(dot)ysu(dot)edu> |
Cc: | Scott Mead <scott(dot)lists(at)enterprisedb(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Configure fails to find readline libraries |
Date: | 2009-05-20 04:22:12 |
Message-ID: | 22324.1242793332@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Jeffrey Trimble <jtrimble(at)cc(dot)ysu(dot)edu> writes:
> configure:6337: checking for -lreadline
> configure:6364: gcc -o conftest -I/usr/local/include -I/usr/local/
> include/readline -Wall -Wmissing-prototypes -Wpointer-arith -Winline -
> Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -
> fwrapv -D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/
> readline -L/usr/local/lib -L/usr/local/lib conftest.c -lreadline -
> lcrypt -ldl -lm >&5
> /usr/local/lib/libreadline.so: undefined reference to `PC'
> /usr/local/lib/libreadline.so: undefined reference to `tgetflag'
> /usr/local/lib/libreadline.so: undefined reference to `tgetent'
You should keep reading past that point ...
The missing symbols here can come from termcap or ncurses. There
is code in our configure script to try linking readline with those
additional libraries. What's not clear is why those attempts failed,
but you didn't show us the trace of them failing.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | denis punnoose | 2009-05-20 05:25:08 | Re: origins/destinations |
Previous Message | Craig Ringer | 2009-05-20 02:34:35 | Re: Get block of N numbers from sequence |