Re: 9.1 (git head) does not compile using --with-libedit-preferred on Ubuntu 10.10

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.1 (git head) does not compile using --with-libedit-preferred on Ubuntu 10.10
Date: 2011-02-16 02:43:08
Message-ID: 4D5B39BC.1030308@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16/02/11 15:05, Mark Kirkwood wrote:
> On 16/02/11 14:54, Tom Lane wrote:
>>
>> It's pretty hard to see how those two things would be related. I think
>> more likely libedit is providing a function named setproctitle, which
>> seems like a rather stupid thing for them to have done.
>
> You are correct - it defines setproctitle, good grief.
>

...for some level of completeness in case this comes up again: it is not
libedit that is at fault here. I downloaded the src for versions 2 amd 3
and neither setproctitle not optreset are defined anywhere. Looking at
my Ubuntu install reveals:

$ ldd /usr/lib/libedit.so.2
linux-vdso.so.1 => (0x00007fffd1bd3000)
libbsd.so.0 => /lib/libbsd.so.0 (0x00007ff219cc9000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007ff219a85000)
libc.so.6 => /lib/libc.so.6 (0x00007ff219701000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ff2194fd000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff21a120000)

What's this libbsd then eh? Sure enough it is this guy that defines
these symbols. So it is the way it is being built on the Ubuntu (or
Debian) platform.

Cheers

Mark

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2011-02-16 02:59:11 Re: 9.1 (git head) does not compile using --with-libedit-preferred on Ubuntu 10.10
Previous Message Robert Haas 2011-02-16 02:41:24 Re: [PERFORM] pgbench to the MAXINT