Re: readline library not found

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: readline library not found
Date: 2010-04-16 06:50:58
Message-ID: 4BC808D2.5000404@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yeb Havinga 2010-04-16 07:07:41 Re: Complete row is fetched ?
Previous Message A. Kretschmer 2010-04-16 06:18:13 Re: Complete row is fetched ?