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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to