Tom,
I wasn't able to get pgadmin4 working with the symlinks, but I'm not very knowledgeable about libraries.
But that's not a problem. I appreciate everyone diagnosing the issue. I'll reach out the pgsql-admin forum to see if there's a simple workaround or if a GSSAPI-enabled pgadmin4 client is in the pipeline. If not, I have other GUI or CLI programs I can use.
Regards,
Sean
On Tue, Oct 27, 2020 at 3:45 PM Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Sean McDaniel <sean.m.mcdaniel@xxxxxxxxx> writes:
> I followed your suggestions and symlinked libpq.5.dylib under
> /Applications/pgAdmin 4.app/Contents/Frameworks to the homebrew library
> /usr/lib/libpq.5.6.dylib, but unfortunately pgadmin4 now fails on launch
> with the error "The pgadmin4 server could not be contacted." Do the other
> libraries 'libcrypto.1.1.dylib' and 'libssl.1.1.dylib' need symlinked as
> well? They don't appear to have exact library matches under /usr/lib.
Yeah, probably. Try "otool -L" on the symlink and see if it manages
to resolve all the dependencies.
Another point here is that libpq.5.6.dylib is quite a few major versions
back, so it's possible that pgadmin needs a newer version of that library.
Hard to tell what's going on unless you can find some lower-level error
report.
> Also, might a future macOS version of pgadmin4 support GSSAPI?
You'd have to pester the pgadmin folk about that.
regards, tom lane