Re: [HACKERS] macOS Sierra & System Integrity Protection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] macOS Sierra & System Integrity Protection
Дата
Msg-id 18963.1497367542@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] macOS Sierra & System Integrity Protection  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On 13 June 2017 at 04:25, Robert Haas <robertmhaas@gmail.com> wrote:
>> 'make check' was failing: 'psql' repeatedly died with an abort
>> trap.  Binaries worked fine when I ran them from the command line
>> (sometimes with DYLD_LIBRARY_PATH, if needed) but when run via
>> pg_regress, nothing worked.

> I've not had that problem, though running it hasn't been trouble free.

> So I guess there must be some sequence of actions that works.

It works fine if you "make install" first, or if the install tree
exists and contains a copy of libpq.dylib that's not so old as to
break your test.

If you haven't got any install tree, the dynamic linker tries to
fall back on /usr/lib/libpq.dylib, which is too old, and you get
nasty core dumps.
        regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [HACKERS] outfuncs.c utility statement support
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Typo in BRIN documentation