GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pgAdmin 4 Version 9.16 Startup Failure on macOS Intel · Issue #10123 · pgadmin-org/pgadmin4

pgAdmin 4 Version 9.16 Startup Failure on macOS Intel #10123

New issue
Copy link
New issue
Copy link
Closed
Closed
pgAdmin 4 Version 9.16 Startup Failure on macOS Intel#10123
Copy link
Labels
Bug

Description

@colliert
colliert
opened on Jun 22, 2026
Issue body actions

(see also #10110 describing same symptoms on Ubuntu machine),

pgAdmin 4 Version 9.16 Startup Failure on macOS Intel

Environment

Hardware: 2019 iMac (Intel x86_64)

Operating System:
macOS 15.7.7 (Sequoia)

Working Version:
pgAdmin 4 v9.15

Version Details:

  • Version: 9.15
  • Commit: 86a8b16 (2026-05-06)
  • Python: 3.13.13
  • Electron: 42.0.0

Failing Version:
pgAdmin 4 v9.16

Installations Tested:

  1. Homebrew Cask installation
  2. Official pgAdmin installer download

Installer Filename:
pgadmin4-9.16-x64.dmg

Issue Summary

After installing pgAdmin 4 v9.16, the splash screen appears and displays:

"Waiting for pgAdmin 4 to start"

The application never progresses beyond the splash screen.

The same behavior occurs whether v9.16 is installed via Homebrew or from the official x64 DMG installer.

Troubleshooting Performed

  • Verified no existing pgAdmin processes were running.
  • Reinstalled OpenSSL via Homebrew.
  • Removed pgAdmin lock files and restarted.
  • Tested both Homebrew and direct-download installations of v9.16.
  • Reinstalled pgAdmin 4 v9.15.

Result:
v9.15 starts and operates normally on the same system.

Error Observed in pgAdmin 9.16 Log

Traceback (most recent call last):

ImportError: dlopen(...cryptography/hazmat/bindings/_rust.abi3.so...)

Library not loaded:
/usr/local/opt/openssl@3/lib/libssl.3.dylib

Reason:
mapping process and mapped file (non-platform) have different Team IDs

Additional Notes

This issue appears specific to v9.16. Reinstalling v9.15 immediately restored normal operation without any other system changes.

I am submitting this report for informational purposes. Unfortunately, I do not have the expertise to assist further with debugging or code changes, but I wanted to document a reproducible startup failure affecting an Intel-based macOS system.

Reacted by Trevor Rea, lsh-silpion, Buniamin Shabanov, Chevdor, mesMess and Kevin Bowen

Activity

  1. colliert
    added
    Bug
    on Jun 22, 2026
  2. duncand commented on Jun 23, 2026

    @duncand
    duncand
    on Jun 23, 2026
    More actions

    I came here to report this same problem. Besides 9.16 likewise failing for me on MacOS 15.7.7 Intel, it ALSO likewise fails for me on MacOS 26.5.1 ARM. This happened both with Homebrew and with the package from the PgAdmin website. Reinstall didn't fix it. Installing 9.15 instead worked again.

    Reacted by Trevor Rea and lsh-silpion
  3. trevorrea commented on Jun 24, 2026

    @trevorrea
    trevorrea
    on Jun 24, 2026
    More actions

    The full error I'm getting with 9.16 on Mac 26.5.1 is:-

    Total spawn time to start the pgAdmin4 server: 0.004 Sec
    Traceback (most recent call last):
    
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py", line 38, in <module>
        import config
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/config.py", line 33, in <module>
        from pgadmin.utils import env, IS_WIN, fs_short_path
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgadmin/__init__.py", line 46, in <module>
        from pgadmin.utils.session import create_session_interface, pga_unauthorised
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgadmin/utils/session.py", line 35, in <module>
        from cryptography.fernet import Fernet, InvalidToken
      File "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/fernet.py", line 15, in <module>
        from cryptography.exceptions import InvalidSignature
      File "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/exceptions.py", line 9, in <module>
        from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
    ImportError: dlopen(/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/hazmat/bindings/_rust.abi3.so, 0x0002): Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib
      Referenced from: <7B82453A-6A52-3497-ADC5-B6AE67F1C00B> /Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/hazmat/bindings/_rust.abi3.so
      Reason: tried: '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
    
    Reacted by Chris Hunter-Johnson, christian-glattfelder-at-ethz, Serge Volkov and Buniamin Shabanov
  4. christian-glattfelder-at-ethz commented on Jun 25, 2026

    @christian-glattfelder-at-ethz
    christian-glattfelder-at-ethz
    on Jun 25, 2026
    More actions

    Hello,

    can confirm the issue for the Intel build only, on both Intel based macOS Tahoe, as well as for ARM based macOS Sequoia ( only when running the Intel version, the native ARM version works fine ).
    I suspect that the intel build machine had some non-standard libraries present on the filesystem that were linked into the python libraries while building the 9.16 release.
    Can also confirm 9.15 intel build working fine.

    Reacted by lsh-silpion, Serge Volkov and Natalia Firstova
  5. lsh-silpion commented on Jun 26, 2026

    @lsh-silpion
    lsh-silpion
    on Jun 26, 2026
    More actions

    Came here in the search if such a bug report already exists. 9.16 stalls at startup, 9.15 too. 9.14 runs. I am on macOS 26.5.1

    Reacted by Dan Langille and Michael Vallaly
  6. chrishj59 commented on Jun 29, 2026

    @chrishj59
    chrishj59
    on Jun 29, 2026
    More actions

    Is there an indication when the issue will be fixed?

  7. dpage commented on Jun 29, 2026

    @dpage
    dpage
    on Jun 29, 2026
    Contributor
    More actions

    Reproduced what's likely to be the same issue on an Intel box running Sequoia:

    pgAdmin Runtime Environment
    --------------------------------------------------------
    Python Path: "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3"
    Runtime Config File: "/Users/dpage/Library/Application Support/pgAdmin 4/config.json"
    Webapp Path: "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"
    pgAdmin Command: "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 -s /Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"
    Environment: 
      - MallocNanoZone: 0
      - USER: dpage
      - COMMAND_MODE: unix2003
      - __CFBundleIdentifier: org.pgadmin.pgadmin4
      - PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
      - LOGNAME: dpage
      - SYSTEM_VERSION_COMPAT: 0
      - SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.c8WNRcTpg7/Listeners
      - HOME: /Users/dpage
      - SHELL: /bin/zsh
      - TMPDIR: /var/folders/z1/k_gz16f556d2gl29jtk1md4c0000gn/T/
      - __CF_USER_TEXT_ENCODING: 0x1F5:0:2
      - XPC_SERVICE_NAME: application.org.pgadmin.pgadmin4.14803597.14818022
      - XPC_FLAGS: 0x0
      - ELECTRON_ENABLE_SECURITY_WARNINGS: false
      - PGADMIN_INT_PORT: 55284
      - PGADMIN_INT_KEY: 46fe7d84-9929-4c17-98d4-023e007edef3
      - PGADMIN_SERVER_MODE: OFF
      - PYTHONDONTWRITEBYTECODE: 1
    --------------------------------------------------------
    
    Total spawn time to start the pgAdmin4 server: 0.009 Sec
    Traceback (most recent call last):
    
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py", line 38, in <module>
        import config
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/config.py", line 33, in <module>
        from pgadmin.utils import env, IS_WIN, fs_short_path
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/pgadmin/__init__.py", line 46, in <module>
        from pgadmin.utils.session import create_session_interface, pga_unauthorised
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Resources/web/pgadmin/utils/session.py", line 35, in <module>
        from cryptography.fernet import Fernet, InvalidToken
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/fernet.py", line 15, in <module>
        from cryptography.exceptions import InvalidSignature
      File "/Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/exceptions.py", line 9, in <module>
        from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
    ImportError: dlopen(/Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/hazmat/bindings/_rust.abi3.so, 0x0002): Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib
      Referenced from: <7B82453A-6A52-3497-ADC5-B6AE67F1C00B> /Users/dpage/Desktop/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/cryptography/hazmat/bindings/_rust.abi3.so
      Reason: tried: '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' (code signature in <E7B4082C-03E5-3E69-A3FE-02BF02CE9FB4> '/usr/local/Cellar/openssl@3/3.6.2/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
    
    Reacted by Trevor Rea, Serge Volkov, Michael Vallaly and Natalia Firstova
  8. dpage commented on Jun 29, 2026

    @dpage
    dpage
    on Jun 29, 2026
    Contributor
    More actions

    Thanks everyone for the detailed reports, and particularly for the full tracebacks and the confirmation that 9.15 works whilst 9.16 doesn't; that made this quick to pin down. I've reproduced it on an Intel Mac and tracked down the cause.

    The short version: it's not actually a code change in pgAdmin itself, but a change in one of our Python dependencies combined with a gap in how we package the macOS build.

    pgAdmin bundles the cryptography library, whose core is a compiled component that needs to link against OpenSSL. Up to and including 9.15 we installed a prebuilt copy of that library from the Python package index, and that prebuilt copy carries its own OpenSSL inside it, so it is entirely self-contained. With 9.16 the dependency was updated, and the new version no longer publishes a prebuilt copy for Intel Macs (Apple Silicon is still provided, which is why native ARM builds are unaffected, and why the only reports here are on Intel, including ARM users running the Intel build under Rosetta). With no prebuilt copy available, our build machine compiled the library from source, and in doing so it linked against the OpenSSL that happened to be present on the build machine (a Homebrew copy at /usr/local/opt/openssl@3/...) rather than the OpenSSL we ship inside the application bundle. On an end user's machine that external OpenSSL either isn't present, or, as in the logs above, is present but rejected by macOS's library validation because it isn't signed by us, so the application fails to start at the point it tries to load cryptography.

    The fix is to force that component to link the OpenSSL we ship inside the bundle, so the result is self-contained again exactly as it was in 9.15. I've applied that to the macOS build configuration already. Separately, I'm adding a check to the build that inspects every library in the finished bundle and fails the build outright if anything links to a path outside the bundle, so this class of problem can't slip through into a release unnoticed again; that's in review as #10135 and will land on its own schedule, but it doesn't affect the fix itself.

    On timing: the build configuration change is in place now, so assuming tonight's run completes cleanly it should appear in tomorrow's snapshot (the 2026-06-30 build) if anyone would like to test it and confirm it resolves things on their machine. Snapshots are published at https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/. The fix will then ship in the next release, which will be 9.17.

    Reacted by Trevor Rea, Mika Lötjönen, christian-glattfelder-at-ethz, Buniamin Shabanov, Reeves Little and Natalia Firstova
  9. ReevesL commented on Jul 14, 2026

    @ReevesL
    ReevesL
    on Jul 14, 2026
    More actions

    On timing: the build configuration change is in place now, so assuming tonight's run completes cleanly it should appear in tomorrow's snapshot (the 2026-06-30 build) if anyone would like to test it and confirm it resolves things on their machine. Snapshots are published at https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/. The fix will then ship in the next release, which will be 9.17.

    @dpage , I'd be happy to test it out and validate the fix. However, the nightly snapshot builds don't appear to contain a macOS .dmg file to test. Do you have a direct link not exposed on the postgresql.org site I could try?

    Regardless, thanks for the upcoming fix!

  10. christian-glattfelder-at-ethz commented on Jul 14, 2026

    @christian-glattfelder-at-ethz
    christian-glattfelder-at-ethz
    on Jul 14, 2026
    More actions

    @dpage : I tried to build based on snapshot 2026-07-14 , since the one you linked had already become unavailable, I presumed your changes would be part of all subsequent snapshots. I got a dmg containing a working version for silicon, after configuring signing - but on intel, I got the same type of error message as above. Are the changes related to this issue still part of the snapshots, or have they been removed ?

    Total spawn time to start the pgAdmin4 server: 0.051 Sec
    Traceback (most recent call last):
    
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py", line 38, in <module>
        import config
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/config.py", line 33, in <module>
        from pgadmin.utils import env, IS_WIN, fs_short_path
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgadmin/__init__.py", line 46, in <module>
        from pgadmin.utils.session import create_session_interface, pga_unauthorised
      File "/Applications/pgAdmin 4.app/Contents/Resources/web/pgadmin/utils/session.py", line 35, in <module>
        from cryptography.fernet import Fernet, InvalidToken
      File "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/cryptography/fernet.py", line 15, in <module>
        from cryptography.exceptions import InvalidSignature
      File "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/cryptography/exceptions.py", line 9, in <module>
        from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
    ImportError: dlopen(/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/cryptography/hazmat/bindings/_rust.abi3.so, 0x0002): Library not loaded: /usr/local/opt/openssl@3/lib/libssl.3.dylib
      Referenced from: <A7F56C06-3E3B-320F-9F73-2B252465705B> /Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/cryptography/hazmat/bindings/_rust.abi3.so
      Reason: tried: '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <54A2A5F0-71D7-35A3-A0E7-88853E7D8C9B> '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/usr/local/opt/openssl@3/lib/libssl.3.dylib' (code signature in <54A2A5F0-71D7-35A3-A0E7-88853E7D8C9B> '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' (code signature in <54A2A5F0-71D7-35A3-A0E7-88853E7D8C9B> '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' (code signature in <54A2A5F0-71D7-35A3-A0E7-88853E7D8C9B> '/usr/local/Cellar/openssl@3/3.6.3/lib/libssl.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
    
  11. asheshv
    added a commit that references this issue on Jul 24, 2026

    fix: fail the macOS build if any bundled library links outside the bu…

    1884356
  12. christian-glattfelder-at-ethz commented on Jul 27, 2026

    @christian-glattfelder-at-ethz
    christian-glattfelder-at-ethz
    on Jul 27, 2026
    More actions

    The Snapshot build from 2026-07-27 launches on both an intel as well as an apple silicon mac, using macOS15. Both machines were unable to run pgAdmin4 before.
    This is the link I used for testing : https://ftp.postgresql.org/pub/pgadmin/pgadmin4/snapshots/2026-07-27/pgadmin4-9.16-x64.dmg

  13. alchen99
    added a commit that references this issue on Jul 29, 2026

    Revert pgAdmin 4 to v9.15

    026b6dc
  14. dpage
    marked After upgrading from pgAdmin 4 v9.15 to v9.16 Pgadmin fails with "Could not contact Server" #10151 as a duplicate of this issue on Aug 19, 2026
  15. dpage commented on Aug 19, 2026

    @dpage
    dpage
    on Aug 19, 2026
    Contributor
    More actions

    Confirmed fixed in the 2026-07-27 snapshot (shipped in 9.17), working on both Intel and Apple Silicon. Closing.

  16. dpage
    closed this as completedon Aug 19, 2026
  17. dpage
    added a commit that references this issue on Sep 15, 2026

    Statically link OpenSSL into cryptography for the Intel macOS build

    474b8f8
  18. rlbxku1r
    added a commit that references this issue on Sep 21, 2026

    Statically link OpenSSL into cryptography for the Intel macOS build

    997b6c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.