ld: symbol(s) not found for architecture x86_64 error when running make

Paul Applegate me at paulapplegate.com
Thu Dec 21 16:48:31 CET 2017


Hi all,
I am trying to update GPG 2.2.3 to 2.2.4 and I get the error below
when I run the make command. I have no knowledge in coding, so the
error makes no sense to me.
Can anyone make sense of it and explain how I can fix the error? I
tried to Google the error with no results relating to GPG. Let me know
if you need any additional information from me.
I'm using a Mac running High Sierra 10.13.2, Xcode 9.2 is installed
with the command line tools. I had no problem installing GPG 2.2.3.
Thanks
Paul


Pauls-iMac:gnupg-2.2.4 thor2$ sudo make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in common
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in kbx
make[2]: Nothing to be done for `all'.
Making all in g10
make[2]: Nothing to be done for `all'.
Making all in sm
make[2]: Nothing to be done for `all'.
Making all in agent
gcc -I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include  -Wall -Wno-pointer-sign -Wpointer-arith -g -O2
-o gpg-agent gpg_agent-gpg-agent.o gpg_agent-command.o
gpg_agent-command-ssh.o gpg_agent-call-pinentry.o gpg_agent-cache.o
gpg_agent-trans.o gpg_agent-findkey.o gpg_agent-pksign.o
gpg_agent-pkdecrypt.o gpg_agent-genkey.o gpg_agent-protect.o
gpg_agent-trustlist.o gpg_agent-divert-scd.o gpg_agent-cvt-openpgp.o
gpg_agent-call-scd.o gpg_agent-learncard.o ../common/libcommonpth.a
-L/usr/local/lib -lgcrypt -lgpg-error -lassuan -L/usr/local/lib
-lgpg-error -L/usr/local/lib -lnpth -L/usr/local/lib -lgpg-error
-liconv
Undefined symbols for architecture x86_64:
  "_assuan_sock_set_system_hooks", referenced from:
      _main in gpg_agent-gpg-agent.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [gpg-agent] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



More information about the Gnupg-users mailing list