BUG #1866: -lreadline needs -lcurses under Solaris. - Mailing list pgsql-bugs

From Bob Friesenhahn
Subject BUG #1866: -lreadline needs -lcurses under Solaris.
Date
Msg-id 20050907191540.7D739F0D03@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1866: -lreadline needs -lcurses under Solaris.
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1866
Logged by:          Bob Friesenhahn
Email address:      bfriesen@simple.dallas.tx.us
PostgreSQL version: 7.4.8
Operating system:   Solaris 9 (SPARC)
Description:        -lreadline needs -lcurses under Solaris.
Details:

The Postgres configure script finds the readline 5.0 headers and decides
that readline is available (in spite of many individual errors while testing
for functions in config.log).  The end result is that postgres is built as
if readline is available but neither -lreadline or -lcurses is applied when
linking psql so it fails to link. Manually adding -lreadline -lcurses while
linking pgsql results in a successful link, possibly with reduced
functionality.

pgsql-bugs by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Installing to Windows XP cannot create db
Next
From: "Angelo Neuschitzer"
Date:
Subject: BUG #1864: Strange behavoir of batches