AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.11k stars 472 forks source link

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

Open David-Noble-at-work opened 3 years ago

David-Noble-at-work commented 3 years ago

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?

Coriakin commented 3 years ago

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

alerque commented 3 years ago

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.

Zajozor commented 3 years ago

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)

memeplex commented 2 years ago

I had no problem installing it from brew.