8

After I migrating my MacBook, I found out I miss the command gpg.

And it threw this error when I wanted to install rvm

⋊> ~ gpg                                                                15:39:34
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /usr/local/bin/gpg
  Reason: image not found
fish: 'gpg' terminated by signal SIGABRT (Abort)

I have tried the following way to fix it, but none of them works.

brew upgrade gnupg
brew unlink gnupg
brew link gnupg

Furthermore, I don't have this folder /usr/local/opt/gettext/.

Did I need to install something to fix this issue?

Update

I put the output of brew doctor here

https://gist.github.com/fifiteen82726/fae106018447e868d64ff1a9d3e6266a

rj487
  • 201
  • 2
  • 8

1 Answers1

0

It looks like somehow you are missing gettext from brew. Since you mentioned you are migrating, it seems that perhaps you only partially migrated things that were in /usr/local . There may be other libraries/binaries/etc that are missing.

Try starting with brew install gettext and see where that gets you.