Unable to get psql compiled - Mailing list pgsql-admin

From Guoben Li
Subject Unable to get psql compiled
Date
Msg-id 3953AB3C.47DDD343@netscape.com
Whole thread Raw
Responses Re: Unable to get psql compiled  (Peter Eisentraut <peter_e@gmx.net>)
Re: Unable to get psql compiled  (<thierry@123immo.com>)
List pgsql-admin
Hi,

    This is a new installation of PostgreSQL 7.0 on Solaris 2.6.

    I posted a problem to this mailing list regarding psql missing in
the bin directory.  Now I tried to compile it in the src directory, i.e.

/usr/share/src/postgresql-7.0/src/bin/psql and here is the error:

# gmake
gmake -C ../../interfaces/libpq libpq.a
gmake[1]: Entering directory
`/usr/share/src/postgresql-7.0/src/interfaces/libpq'
gmake[1]: `libpq.a' is up to date.
gmake[1]: Leaving directory
`/usr/share/src/postgresql-7.0/src/interfaces/libpq'
gcc -o psql command.o common.o help.o input.o stringutils.o mainloop.o
copy.o startup.o prompt.o variables.o large_obj.o print.o describe.o
tab-complete.o -L../../interfaces/libpq -lpq -lgen -lcrypt -lnsl
-lsocket -ldl -lm -lreadline -ltermcap -lcurses
tab-complete.o: In function `psql_completion':
tab-complete.o(.text+0x6c): undefined reference to
`rl_completion_append_character'
tab-complete.o(.text+0x74): undefined reference to
`rl_completion_append_character'
tab-complete.o(.text+0x2654): undefined reference to
`rl_completion_append_character'
tab-complete.o(.text+0x2658): undefined reference to
`rl_completion_append_character'
gmake: *** [psql] Error 1
#

   Any hint/help is appreciated.

Guoben Li
Netscape Communications


pgsql-admin by date:

Previous
From: Chris Albertson
Date:
Subject: Re: smp , php and postmaster distant
Next
From: Nicolas Huillard
Date:
Subject: RE: smp , php and postmaster distant