git-crypt icon indicating copy to clipboard operation
git-crypt copied to clipboard

How to: install and run git-crypt on macOS 11 (Big Sur)

Open David-Noble-at-work opened this issue 5 years ago • 4 comments

The GnuPG Tools team produced a build for Big Sur. The git-crypt macport installs but won't run due to this git-crypt dependency:

dyld: Symbol not found: __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm
  Referenced from: /usr/local/bin/git-crypt
  Expected in: /usr/lib/libstdc++.6.dylib
 in /usr/local/bin/git-crypt

I currently can't sync a repo that depends on git-crypt and would like to resolve that issue. Do you have a Big Sur release? Does it make sense for me to clone this repo and build from source?

David-Noble-at-work avatar Oct 19 '20 17:10 David-Noble-at-work

Did you resolve this issue @David-Noble-at-work ?

Coriakin avatar Nov 18 '20 13:11 Coriakin

Presumably it needs rebuilding for new libraries. Either you can do this yourself from source, or poke whoever maintains the binary package you referred to so they rebuild on macOS 11. This shouldn't have anything to do with the upstream project.

alerque avatar Jan 11 '21 07:01 alerque

installing from brew seems to work fine for me (Big Sur 11.2.1) - https://formulae.brew.sh/formula/git-crypt

(i understand that in some cases this might not be viable)

Zajozor avatar Feb 16 '21 16:02 Zajozor

I had no problem installing it from brew.

memeplex avatar Oct 05 '21 02:10 memeplex