Re: [GENERAL] make[2]: *** [psql] Error 1 - Mailing list pgsql-general

From James Oden
Subject Re: [GENERAL] make[2]: *** [psql] Error 1
Date
Msg-id 012601bdf11d$4f572a20$01cc0cac@Yehudah.lee.k12.nc.us
Whole thread Raw
Responses Re: [GENERAL] make[2]: *** [psql] Error 1
Re: [GENERAL] make[2]: *** [psql] Error 1
List pgsql-general
-----Original Message-----
From: Andrea Antibo <antibo@mclink.it>
To: <pgsql-general@postgreSQL.org>; <pgsql-novice@postgreSQL.org>
Date: Monday, October 05, 1998 14:25
Subject: [GENERAL] make[2]: *** [psql] Error 1


|when I compile postgres 6.3.2 under linux I have this error with "make all"
and
|"make install":
|
|
|from make install:
|
|/usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
|terminal.o(.text+0x7ce): undefined reference to `tputs'
|/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad':
|terminal.o(.text+0x7fb): undefined reference to `tputs'
|terminal.o(.text+0x822): undefined reference to `tputs'
|make[2]: *** [psql] Error 1
Sounds like the linker is having trouble finding the ncurses library.  I am
not sure exactly where, but somewhere in the make file you need to add:

  -l ncurses

This is a compiler option that will tell the linker to link in the ncurses
routines.

Hope this helps...james
|


pgsql-general by date:

Previous
From: Kevin Heflin
Date:
Subject: Re: [GENERAL] Still the problem with the autoincrement field
Next
From: Memphisto
Date:
Subject: using datetime from C