Re: readline library not found

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 04:52:56
Message-ID: 1086.1271393576@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2010-04-16 05:45:29 Re: Int64GetDatum
Previous Message Tom Lane 2010-04-16 04:46:36 Re: Int64GetDatum