Re: 9.1.1 build failure : postgres link fails

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 9.1.1 build failure : postgres link fails
Date: 2011-11-21 16:07:41
Message-ID: 4ECA774D.6010706@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This may be a duplicate response.

On 11/20/2011 11:05 AM, Tom Lane wrote:
> Rob Sargent <robjsargent(at)gmail(dot)com> writes:
>> On 11/20/2011 09:24 AM, Tom Lane wrote:
>>> It appears that on Ubuntu, libbsd defines those symbols, which confuses
>>> configure into supposing that they're provided by libc, and then the
>>> link fails because libbsd isn't actually linked into the postmaster.
>>> The question is what's pulling in libbsd though. In the previous report
>>> it came via libedit, which you're not using. I'd try looking in the
>>> config.log file to see what it was linking in the test that decided
>>> setproctitle was available, and then using ldd on each of those
>>> libraries to see which one(s) require libbsd.
>> Will do. Then there's always trying Ubuntu-11?
> Couldn't say. But re-reading this, I wonder if maybe you *are* using
> libedit. Have you got readline installed? If not, configure will try
> libedit as second choice ... so maybe the best fix is to install
> readline (and don't forget readline-devel or local equivalent).
>
> regards, tom lane

I made readline-6.2 from source, than had to manually symlink
perl.so.5.10 to perl.so

and SUCCESS!

Thanks for the readline pointer Tom. Sort of thing that would have
taken me forever to get through.

rjs

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Blackwell 2011-11-21 16:50:56 Selective backup script
Previous Message John R Pierce 2011-11-21 15:39:57 Re: How to write a own parser for full text search