Update Troubleshooting.md

Added error and solution for an ARM issue

Signed-off-by: Francis <zzvipercorezz@gmail.com>
This commit is contained in:
Francis 2024-01-04 21:42:36 +01:00 committed by GitHub
parent 1101a26957
commit 7c344e22dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -307,3 +307,28 @@ Try running the client without the SESSION_MANAGER environment variable.
```
env -u SESSION_MANAGER ./pm3
```
## found architecture 'x86_64', required architecture 'arm64' error
^[Top](#top)
If you get the message
```
warning: ignoring file '/usr/local/Cellar/jansson/2.14/lib/libjansson.4.dylib': found architecture 'x86_64', required architecture 'arm64'
```
when running
```make clean && make -j```
then it likely means you are on an ARM device, possibly an Apple ARM computer.
Solution:
```
brew install jansson
```
Then run this again
```
make clean && make -j
```