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

From Tom Lane
Subject Re: readline library not found
Date
Msg-id 1086.1271393576@sss.pgh.pa.us
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 <mr.z.m.wu@gmail.com> writes:
> I need to build a postgres on a linux machine that I don't have root access.
> I built readline from source and installed it with prefix of /home/me/local

If you don't have root you're going to be in for a lot of pain here.
Linux is not designed to be friendly to libraries that aren't installed
in the path defined by /etc/ld.so.conf.  Can't you just install readline
as prepackaged by your distro?

> Now if this solution works for zlib why is it not working for readline?

It isn't working for zlib either ... if you look closely, I'll bet lunch
you find you're linking to the standard copy of zlib.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Int64GetDatum
Next
From: John R Pierce
Date:
Subject: Re: Int64GetDatum