WASP on windows WSL2 / arm64 - issue getting wasp start error
i'm trying to get a new project running on windows wsl2 - but in arm64. My wsl2 seems to be running fine, but wasp version or wasp start are throwing me:
"qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory" - any linux / wasp gurus able to advise on how to resolve this?
10 Replies
Hi @freq451. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, the error message you're seeing seems to be related to the architecture of your system. Wasp is compiled for x86_64 systems and it seems like you're trying to run it on an arm64 system. This might be causing the issue.
For Wasp on Windows, it's recommended to use WSL (Windows Subsystem for Linux). Once you set up Ubuntu on WSL, you can follow the Linux instructions for installing Wasp. If you're using WSL2, make sure that your Wasp project is not on the Windows file system, but instead on the Linux file system. Otherwise, Wasp won't be able to detect file changes, due to an issue in WSL2 (https://github.com/microsoft/WSL/issues/4739) [source (https://wasp-lang.dev/docs/quick-start#installation-1)].
If you're still having issues, you might want to check out this guide to using Wasp in a WSL environment (https://wasp-lang.dev/blog/2023/11/21/guide-windows-development-wasp-wsl) or reach out to the Wasp community on Discord (https://discord.gg/rzdnErX) for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @freq451, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
did you make sure it's on linux file system and not on windows?
Wasp is currently not built for Arm64 π’ here's a related issue https://github.com/wasp-lang/wasp/issues/2003
GitHub
Investigate building Wasp for more Linux architectures (i.e. ARM) Β·...
Currently (as of 0.13.2), we're releasing Wasp Linux builds only for Ubuntu x86. It works on most of the Linux distribution, but not all of them (e.g., Raspbian). For users that don't run a...
What kind of laptop are you using it you don't me asking? π
Hi there. Yes, I did. I've been looking at crossgrading my wls2 ubuntu to add x64 architecture so wasp will run but so fat no luck (crossgrade not working yet...)
yeah as mentioned above,
it won't work with arm64.
Sorry Mate.
Reading through that now to see what my options are...
Hey is there a wasp docker image? Maybe that's the simplest solution here...
Wohooo @freq451, you just became a Waspeteer level 1!
tag kapa ai and maybe it can help.
There isn't a 1st party Docker image we maintain for development, no π
You could maybe build it yourself and let us know if you need any help with out. I imagine it could go something like
FROM ubuntu
this π