Open Xandir150 opened 1 year ago
A few months ago, I wrote a note for my coworkers, in case they will have an ARM Mac in the future. I could resolve this issue by using Rosetta and using this method to this day. Also, one of the new members of my team could do it with these steps, too. So, hope it could be useful:
Tips and tricks to set up your Apple M1 for development
How to Install x86_64 Homebrew Packages on Apple M1 MacBook
Because openconnect-sso contains some libraries that are still not supported on ARM we have to run our terminal with rosetta and setup brew for x86_64. (you'll need the above PATHs to be added to .zshrc or .bashrc)
Then based on the above links (from Rosetta terminal):
(You might also need this: axbrew install python3
)
axbrew install pipx
/usr/local/homebrew/Cellar/pipx/1.1.0/bin/pipx install "openconnect-sso[full]"
Another thing that you should install is (from normal terminal):
brew install openconnect
After these steps you will be able to use the VPN from Rosetta terminal:
openconnect-sso —-server <server>
pip install --user pipx
pipx install openconnect-sso
brew install pyqt5