From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Giles Lean <giles(at)nemeton(dot)com(dot)au> |
Cc: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: NetBSD 1.4.2/i386 needs to link psql with -ltermcap |
Date: | 2001-03-24 10:41:28 |
Message-ID: | Pine.LNX.4.30.0103241140220.2319-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Giles Lean writes:
> char readline();
>
> int main() {
> readline()
> ; return 0; }
> configure:3165: gcc -o conftest -O2 -pipe conftest.c -ledit 1>&5
> configure:3192: checking for library containing using_history
> configure:3210: gcc -o conftest -O2 -pipe conftest.c -ledit 1>&5
> ...
>
> It would be nicer if the link failed. :-(
>
> Actually running the program above:
>
> /usr/libexec/ld.so: Undefined symbol "_tgetent" called from
> conf:/usr/lib/libed\ it.so.2.2 at 0x4002d2ac
This looks to be an oddly behaving linker. Maybe this is a better
question for a netbsd user forum.
> ldd doesn't show problems:
>
> conf:
> -ledit.2 => /usr/lib/libedit.so.2.2 (0x4001b000)
> -lc.12 => /usr/lib/libc.so.12.40 (0x4002f000)
How about ldd libedit?
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Clift | 2001-03-25 13:03:45 | Re: Various bugs with PG7.1 8th March snapshot on Solaris 8 INTEL |
Previous Message | Peter Eisentraut | 2001-03-24 10:30:42 | Re: Tests randomly failed |