Re: Psql malloc error on Git master
От | Thom Brown |
---|---|
Тема | Re: Psql malloc error on Git master |
Дата | |
Msg-id | AANLkTim5Bdk_O+OOp9iUa1Sw+i_-ZugjTzKWm55Wvr2v@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Psql malloc error on Git master (Bernd Helmle <mailings@oopsware.de>) |
Список | pgsql-bugs |
On 21 January 2011 14:55, Bernd Helmle <mailings@oopsware.de> wrote: > > > --On 20. Januar 2011 21:56:44 +0000 Thom Brown <thom@linux.com> wrote: > >>> Known bug in OSX's libedit. =A0Use readline instead. >>> >>> http://archives.postgresql.org/pgsql-bugs/2010-04/msg00127.php >>> >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0regards, tom lane >> >> How do I force readline? =A0I'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=3D/opt/local/lib --with-includes=3D/opt/local/include > > which for example links psql/libreadline with: > > % otool -L $PGSQL_HOME/bin/psql > /Users/bernd/pgsql-dev/install/HEAD/bin/psql: > =A0 =A0 =A0 =A0/Users/bernd/pgsql-dev/install/HEAD/lib/libpq.5.dylib (com= patibility > version 5.0.0, current version 5.4.0) > =A0 =A0 =A0 =A0/opt/local/lib/libintl.8.dylib (compatibility version 10.0= .0, current > version 10.1.0) > =A0 =A0 =A0 =A0/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1= .0.0, > current version 1.0.0) > =A0 =A0 =A0 =A0/opt/local/lib/libreadline.6.1.dylib (compatibility versio= n 6.0.0, > current version 6.1.0) > > Works quite well for me. There's also a libedit in MacPorts, but i've nev= er > used it. > > =A0 =A0 =A0 Bernd Okay, I've tried your recommend config options and all seems to be well now. I'll note that for future builds. Thanks --=20 Thom Brown Twitter: @darkixion IRC (freenode): dark_ixion Registered Linux user: #516935
В списке pgsql-bugs по дате отправления: