MacGPG: GPG Config Error

John's Avatar


18 Jul, 2017 04:26 PM

When I start GPG Keychain, i get a failure popup titled GPG Config error with the contents below. In an effort to fix this, I reinstalled the GPG Suite 2017.1b3 yesterday, but received the same error. Any ideas for fixing this?

I've got macOS Sierra 10.12.5

Ups, something went wrong. GPG was found on your system but there seems to be a problem with the config file. Please contact us at

Details: dyld: Library not loaded: /usr/local/lib/libgpg-error.0.dylib
  Referenced from: /usr/local/bin/gpg2
  Reason: no suitable image found.  Did find:
    /usr/local/lib/libgpg-error.0.dylib: mach-o, but wrong architecture
    /usr/local/lib/libgpg-error.0.dylib: mach-o, but wrong architecture
    /usr/local/Cellar/libgpg-error/1.24/lib/libgpg-error.0.dylib: mach-o, but wrong architecture
    /usr/local/Cellar/libgpg-error/1.24/lib/libgpg-error.0.dylib: mach-o, but wrong architecture
  1. Support Staff 1 Posted by Steve on 18 Jul, 2017 05:07 PM

    Steve's Avatar

    Hi John,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Could you please download and install our latest GPG Suite nightly build and see if the problem persists. That page also has sig and SHA256 to verify the download.

    Should this issue then be persisting, please send a debug log from your affected machine: Open System Preferences > GPGPreferences / GPG Suite > Send Report. Check the box to "attach debug log". Since you already described your issue in this discussion, you don't need to add a lot of detail, but please do add the link to your existing discussion, so I can then merge your debug info with this existing discussion.

    All the best,

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  2. Support Staff 2 Posted by Luke Le on 16 Aug, 2017 02:22 PM

    Luke Le's Avatar

    Hi John,

    it looks like you're using gpg from homebrew, in which case you might have to uninstall and re-install it, including libgpg-error.

    Hope that helps.

  3. Support Staff 3 Posted by Steve on 19 Jan, 2018 11:00 AM

    Steve's Avatar

    Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.

    All the best, steve

  4. Steve closed this discussion on 19 Jan, 2018 11:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac