Re: Strange OSX make check-world failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange OSX make check-world failure
Дата
Msg-id 18436.1537193639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange OSX make check-world failure  (Chris Travers <chris.travers@adjust.com>)
Ответы Re: Strange OSX make check-world failure  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
Chris Travers <chris.travers@adjust.com> writes:
> Logs are below.  This happens on master, and on 10.  I suspect it is an
> issue with something regarding ecpg.  Wondering what I am doing wrong.

"make check" generally won't work on OSX unless you've disabled SIP:

https://www.howtogeek.com/230424/how-to-disable-system-integrity-protection-on-a-mac-and-why-you-shouldnt/

That might not be the issue --- I'd have rather expected a failure
sooner --- but it's worth checking.

The reason why it doesn't work is basically that Apple sabotages
the DYLD_LIBRARY_PATH mechanism, causing the tests to load whatever
version of libpq.dylib (and the ecpg libraries) might exist in your
system library directories or the install target directory, rather
than the files in the build tree.  Possibly the reason you got this
far is that your install target is already reasonably up to date
for libpq, but not so much for ecpg.

            regards, tom lane


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

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: Online verification of checksums
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Online verification of checksums