Update to readline and Postgresql

Started by Morrison, Trevor (Trevor)about 24 years ago5 messagesgeneral
Jump to latest
#1Morrison, Trevor (Trevor)
tmorrison@avaya.com

Hi again,

I have included the config.log file after I configure 7.2 around the area
where it checks for readline:

configure:3288: checking for readline
configure:3310: gcc -o conftest -O9 -I/usr/local/include -L/usr/local/lib
conftest.c -lreadline 1>&5
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3299 "configure"
#include "confdefs.h"

Any thoughts from anyone? TIA

Trevor

#2Helge Bahmann
bahmann@math.tu-freiberg.de
In reply to: Morrison, Trevor (Trevor) (#1)
Re: Update to readline and Postgresql

On Thu, 4 Apr 2002, tmorrison wrote:

configure:3288: checking for readline
configure:3310: gcc -o conftest -O9 -I/usr/local/include -L/usr/local/lib
conftest.c -lreadline 1>&5
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'

These are symbols from libtermcap or libncurses; if you look a little bit
further down, configure will try to link with "-lreadline -ltermcap" -- does
this fail as well? If it does (maybe you do not have a termcap library), try
running configure with "LDFLAGS=-lncurses ./configure ..." to force
linking in of libncurses

Regards
--
Helge Bahmann <bahmann@math.tu-freiberg.de> /| \__
Network admin, systems programmer /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |

#3Helge Bahmann
bahmann@math.tu-freiberg.de
In reply to: Helge Bahmann (#2)
Re: Update to readline and Postgresql

These are symbols from libtermcap or libncurses; if you look a little bit
further down, configure will try to link with "-lreadline -ltermcap" -- does
this fail as well? If it does (maybe you do not have a termcap library), try
running configure with "LDFLAGS=-lncurses ./configure ..." to force
linking in of libncurses

Ah forget about that -- just noticed configure tries ncurses as well

Appears you have neither working termcap nor ncurses which makes me wonder
how you got readline compiled in the first place

Regards
--
Helge Bahmann <bahmann@math.tu-freiberg.de> /| \__
Network admin, systems programmer /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |

#4Command Prompt, Inc.
pgsql-general@commandprompt.com
In reply to: Morrison, Trevor (Trevor) (#1)
Announce: SSL-ODBC Available

Hello all,

Just a quick note to let everyone know that we are now shipping our
SSL/ODBC driver for Win32. The driver works in SSL and standard mode. The
standard mode should be compatible with all version of PostgreSQL that are

= 6.x. The SSL mode requires >7.1.X including 7.2 and 7.2.1.

More information can be found here:

http://www.commandprompt.com

Have a great day.

Sincerely,

CMD

--
--
by way of pgsql-general@commandprompt.com
http://www.postgresql.info/
http://www.commandprompt.com/

#5Holger Marzen
holger@marzen.de
In reply to: Morrison, Trevor (Trevor) (#1)
Re: Update to readline and Postgresql

On Thu, 4 Apr 2002, tmorrison wrote:

Hi again,

I have included the config.log file after I configure 7.2 around the area
where it checks for readline:

configure:3288: checking for readline
configure:3310: gcc -o conftest -O9 -I/usr/local/include -L/usr/local/lib
conftest.c -lreadline 1>&5
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'

Missing ncurses?