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