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

Prusti Assistant Server fails to load on Apple Silicon m2 #1399

Closed
rlaferla opened this issue Apr 20, 2023 · 1 comment
Closed

Prusti Assistant Server fails to load on Apple Silicon m2 #1399

rlaferla opened this issue Apr 20, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@rlaferla
Copy link

rlaferla commented Apr 20, 2023

Installed OpenJDK 11 64-bit on Apple Silicon m2 (arm64) and Prusti VSCode extension:

Reason: tried: '/opt/homebrew/Cellar/openjdk@11/11.0.19/libexec/openjdk.jdk/Contents/Home/lib/jli/libjli.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

 % file /opt/homebrew/Cellar/openjdk@11/11.0.19/libexec/openjdk.jdk/Contents/Home/lib/jli/libjli.dylib
/opt/homebrew/Cellar/openjdk@11/11.0.19/libexec/openjdk.jdk/Contents/Home/lib/jli/libjli.dylib: Mach-O 64-bit dynamically linked shared library arm64

% arch -arm64 brew install openjdk@11
export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
export CPPFLAGS="-I/opt/homebrew/opt/openjdk@11/include"

VSCode Version: 1.77.3 (Universal) on macOS Ventura 13.3.1

@fpoli
Copy link
Member

fpoli commented Apr 26, 2023

Closing as duplicate of viperproject/prusti-assistant#191 and #1193

@fpoli fpoli closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2023
@fpoli fpoli added the duplicate This issue or pull request already exists label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants