From: Bernd Helmle <mailings@oopsware.de>
To: Thom Brown <thom@linux.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Psql malloc error on Git master
Date: Fri, 21 Jan 2011 15:55:53 +0100
Message-ID: <24DCA0F12595965A123C2DEF@amenophis> (raw)
In-Reply-To: <AANLkTikmyXh9AugCv7q359A7N1cP4Zduqep=K0rVYNpS@mail.gmail.com>
References: <AANLkTi=m2+N-9r0qTW9AS4iLHdy_xEVPF8Os+t9TmnUb@mail.gmail.com>
<21691.1295559886@sss.pgh.pa.us>
<AANLkTikmyXh9AugCv7q359A7N1cP4Zduqep=K0rVYNpS@mail.gmail.com>
--On 20. Januar 2011 21:56:44 +0000 Thom Brown <thom@linux.com> wrote:
>> Known bug in OSX's libedit. Use readline instead.
>>
>> http://archives.postgresql.org/pgsql-bugs/2010-04/msg00127.php
>>
>> regards, tom lane
>
> How do I force readline? I'm not using --with-libedit-preferred or
> --without-readline
What I've done is to switch to MacPorts[1] and use their packaging. I'm
building PostgreSQL then with:
--with-libraries=/opt/local/lib --with-includes=/opt/local/include
which for example links psql/libreadline with:
% otool -L $PGSQL_HOME/bin/psql
/Users/bernd/pgsql-dev/install/HEAD/bin/psql:
/Users/bernd/pgsql-dev/install/HEAD/lib/libpq.5.dylib (compatibility
version 5.0.0, current version 5.4.0)
/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current
version 10.1.0)
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current
version 1.0.0)
/opt/local/lib/libreadline.6.1.dylib (compatibility version 6.0.0, current
version 6.1.0)
Works quite well for me. There's also a libedit in MacPorts, but i've never
used it.
Bernd
[1] <http://www.macports.org/;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: mailings@oopsware.de, thom@linux.com, tgl@sss.pgh.pa.us
Subject: Re: Psql malloc error on Git master
In-Reply-To: <24DCA0F12595965A123C2DEF@amenophis>
References: <AANLkTi=m2+N-9r0qTW9AS4iLHdy_xEVPF8Os+t9TmnUb@mail.gmail.com> <21691.1295559886@sss.pgh.pa.us> <AANLkTikmyXh9AugCv7q359A7N1cP4Zduqep=K0rVYNpS@mail.gmail.com> <24DCA0F12595965A123C2DEF@amenophis>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox