Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcu_mac can run on Apple Silicon in arm64 mode #12

Open
landonh12 opened this issue May 8, 2023 · 0 comments
Open

bcu_mac can run on Apple Silicon in arm64 mode #12

landonh12 opened this issue May 8, 2023 · 0 comments

Comments

@landonh12
Copy link

Hi,

The documentation on the repo states that you must put your terminal into x86_64 mode if you want to run bcu_mac on an M1/M2 Mac.

I got it to work without doing that - my terminal is running in arm64 mode.

To do this, simply follow these steps:

  1. Install packages through brew as normal.
  2. Clone the repo with --recursive
  3. Run cmake . as normal.
  4. Run make
  5. You will see that it complains about not being able to find libssl.1.1.dylib. Run the following two commands for libel and lib crypto:
  6. cd /opt/homebrew/Cellar/openssl@3/3.0.8/lib/
  7. ln -s libssl.dylib libssl.1.1.dylib
  8. ln -s libcrypto.dylib libcrypto.1.1.dylib

Then try running make again. Once it successfully builds, copy the "bcu_mac" binary to /opt/homebrew/bin.

Here is a screenshot of it running in my terminal on arm64:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant