Re: OS X 10.11.3, psql, bus error 10, 9.5.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OS X 10.11.3, psql, bus error 10, 9.5.1
Дата
Msg-id 15871.1457754038@sss.pgh.pa.us
обсуждение исходный текст
Ответ на OS X 10.11.3, psql, bus error 10, 9.5.1  (Chris Ruprecht <chris@cdrbill.com>)
Ответы Re: OS X 10.11.3, psql, bus error 10, 9.5.1  (Chris Ruprecht <chris@cdrbill.com>)
Re: OS X 10.11.3, psql, bus error 10, 9.5.1  (Chris Ruprecht <chris@cdrbill.com>)
Список pgsql-general
Chris Ruprecht <chris@cdrbill.com> writes:
> today, I built PG 9.5.1 on my Mac. Everything went fine with the build, as usual but after installing everything,
psqldid nothing but give a 'bus error: 10'. Loading it into gdb gave me more details:  

> Program received signal SIGBUS, Bus error.
> 0x000000010001be6c in refresh_utf8format ()

I'd bet a nickel this is caused by El Capitan's "System Integrity
Protection" deciding that your psql does not need the libpq version
it asked for and should get linked to /usr/lib/libpq.dylib instead
(which of course is several PG versions behind ...)

SIP is potentially a good idea, but until they get the policies it
enforces worked out, it's about where SELinux was ten years ago: the
first thing you do is turn it off, if you want to get any work done.
Right now it's an absolute disaster for anyone doing software
development work.

Here's what I have bookmarked about turning it off:
http://www.howtogeek.com/230424/how-to-disable-system-integrity-protection-on-a-mac-and-why-you-shouldnt/

If turning off SIP doesn't fix things, we'll need to look closer.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Elein
Дата:
Сообщение: Re: enum bug
Следующее
От: Chris Ruprecht
Дата:
Сообщение: Re: OS X 10.11.3, psql, bus error 10, 9.5.1