Skip to content

Commit

Permalink
chore(docs): troubleshooting to apple sillicon (#2058)
Browse files Browse the repository at this point in the history
* chore: add guides to problems while compiling to apple sillicon

* chore: add errors

* chore: using bullet points
  • Loading branch information
EclesioMeloJunior committed Nov 25, 2021
1 parent b8e2906 commit 594fee1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ build gossamer command:
```
make gossamer
```
### Troubleshooting for Apple Silicon users

If you are facing the following problem with the `wasmer`:
```
undefined: cWasmerImportObjectT
undefined: cWasmerImportFuncT
undefined: cWasmerValueTag
```
Make sure you have the following Golang enviroment variables:

- GOARCH="amd64"
- CGO_ENABLED="1"

> use _go env_ to see all the Golang enviroment variables
> use _go env -w **ENV_NAME**=**ENV_VALUE**_ to set the new value


Expand Down

0 comments on commit 594fee1

Please sign in to comment.