Re: [GENERAL] make[2]: *** [psql] Error 1

From: "James Oden" <joden(at)lee(dot)k12(dot)nc(dot)us>
To: <antibo(at)mclink(dot)it>, <pgsql-general(at)postgreSQL(dot)org>, <pgsql-novice(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] make[2]: *** [psql] Error 1
Date: 1998-10-06 11:34:40
Message-ID: 012601bdf11d$4f572a20$01cc0cac@Yehudah.lee.k12.nc.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----Original Message-----
From: Andrea Antibo <antibo(at)mclink(dot)it>
To: <pgsql-general(at)postgreSQL(dot)org>; <pgsql-novice(at)postgreSQL(dot)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
|

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Memphisto 1998-10-06 12:42:11 using datetime from C
Previous Message Herouth Maoz 1998-10-06 10:08:23 Re: [GENERAL] Still the problem with the autoincrement field