Re: readline library not found - Mailing list pgsql-general

From Greg Smith
Subject Re: readline library not found
Date
Msg-id 4BC808D2.5000404@2ndquadrant.com
Whole thread Raw
In response to readline library not found  (zhong ming wu <mr.z.m.wu@gmail.com>)
List pgsql-general
zhong ming wu wrote:
> After explicitly specfying these paths with --with-libs and
> with-includes postgres configure is still choking
> on readline.
>

Doing this is painful, but one hack you can try is pointing:

export LD_LIBRARY_PATH=/home/me/local/lib

I've used that combined with setting --with-libs and --with-includes
before to get a PostgreSQL build with libedit working in a non-root
account, and that library is similar to readline.

If that doesn't work you might have to adjust LDFLAGS instead, and
that's no fun at all.  This is not a simple thing to pull off.

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


pgsql-general by date:

Previous
From: "Kincel, Martin"
Date:
Subject: Re: optimalisation with EXCEPT clause
Next
From: Yeb Havinga
Date:
Subject: Re: Complete row is fetched ?