Running matchstick for testing The Graph on Mac M1

When you go through the steps for running matchstick on the github instructions I ran into issues.

Specifically I was getting the following error:

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Thankfully the Graph Discord is an incredibly helpful resource and learned that you need to rebuild the docker environment using the --platform linux/x86_64 flag. See below….

docker build --platform linux/x86_64 -t matchstick .

Now that is built, you can run

docker run -it --rm --platform linux/x86_64 matchstick 

and you should be fine.

Leave a comment

Your email address will not be published.