Re: GSSAPI Authentication for pgadmin4 macOS client - Mailing list pgsql-general

From Sean McDaniel
Subject Re: GSSAPI Authentication for pgadmin4 macOS client
Date
Msg-id CAML5wTWEtCVSeuScOzErmwVXFfPgGGE64pEx-usW5wEyNBWzNA@mail.gmail.com
Whole thread Raw
In response to Re: GSSAPI Authentication for pgadmin4 macOS client  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GSSAPI Authentication for pgadmin4 macOS client
List pgsql-general
Thanks Tom and Neil.

What you've said makes sense. The pgadmin4 pibpq doesn't support GSSAPI.

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.

Also, might a future macOS version of pgadmin4 support GSSAPI?

Thank you,

Sean

On Tue, Oct 27, 2020 at 1:39 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Neil <neil@fairwindsoft.com> writes:
> On Oct 27, 2020, at 12:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> A quick look through our source code finds that error string only in
>> libpq; it indicates that libpq was built without GSSAPI support.

> On my Mac pgadmin4 seems to use its own libpq.
> You can find it at: /Applications/pgAdmin\ 4.app/Contents/Frameworks/libpq.5.dylib

Ah, so Sean could try replacing that with a symlink to his libpq
from homebrew.

                        regards, tom lane

pgsql-general by date:

Previous
From: Atul Kumar
Date:
Subject: High CPU utilization
Next
From: Tom Lane
Date:
Subject: Re: GSSAPI Authentication for pgadmin4 macOS client