Re: Strange OSX make check-world failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange OSX make check-world failure
Date
Msg-id 18436.1537193639@sss.pgh.pa.us
Whole thread Raw
In response to Strange OSX make check-world failure  (Chris Travers <chris.travers@adjust.com>)
Responses Re: Strange OSX make check-world failure
List 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 by date:

Previous
From: Michael Banck
Date:
Subject: Re: Online verification of checksums
Next
From: Stephen Frost
Date:
Subject: Re: Online verification of checksums