BlockchainCommons / seedtool-cli

Cryptographic Seed Tool for the command line
Other
27 stars 16 forks source link

Building on macOS 12.3 Intel Fails #66

Open ChristopherA opened 2 years ago

ChristopherA commented 2 years ago

On macOS Monterey 12.3 on a MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports), with all system updates, and Xcode Version 13.3 (13E113), building seedtool-cli is failing.

I have done brew install autoconf automake libtool shunit2 with no errors.

Doing ./build.sh starts ok, but then fails with

seedtool-cli % git pull
…
seedtool-cli % git clean --ffdx
…
seedtool-cli % ./build.sh
…
Undefined symbols for architecture x86_64:
  "_argp_program_bug_address", referenced from:
      __help in libargp.a(argp-help.o)
  "_strchrnul", referenced from:
      _argp_args_usage in libargp.a(argp-help.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[1]: *** [argp-test] Error 1
make: *** [install-recursive] Error 1

seedtool-cli %

I have also tried make clean.

ChristopherA commented 2 years ago

Note that it builds on on m1 on macOS 12.2.1, PROVIDED that you don't try to build it in ~/Documents, otherwise you'll get security errors:

image

image

I'll upgrade this machine to 12.3 and update Xcode and see if the same bug happens there.

wolfmcnally commented 1 year ago

Please see whether this has now been fixed on the systems you're testing for.