Installing AVM on Windows Subsystem for Linux (WSL)
As you are trying to install Arm Virtual Machine (AVM) on your WSL, you might encounter a few errors. Here’s how to resolve them:
Error: error: linkerccnot found when installing AVM on WSL
This error typically occurs when the compiler or build tool is unable to find the cc symbol. This is often due to the following reasons:
- Makefile configuration

: The
makefileconfiguration might be incorrect, leading to a missingccsymbol.
- Compiler installation: You may need to install a compatible C++ compiler on your system.
To resolve this error, you can try the following steps:
- Update WSL and Linux packages:
Open the Command Prompt (in Windows) or terminal (on Linux/macOS) with administrative privileges.
Run the following commands to update WSL and Linux packages:
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev zlib1g-dev libncurses5-dev libreadline-dev libsqlite3-dev wget curl
- Install a compatible C++ compiler:
Check which C++ compiler is already installed on your system. If not, you can download and install a suitable one from the official website.
For example, if gcc is already installed, you don’t need to do anything. However, if you want to use a newer version of it or another one (e.g., clang++), run:
sudo apt-get install -y gcc-11
- Update the AVM installation package:
After updating your system’s packages and installing a compatible C++ compiler, try reinstalling AVM using the official ARM Linux installer.
Error: could not compile crossbeam-utils (build script) due to 1 …
This error often occurs when the build process encounters an issue with the crossbeam-utils package.
Here are some additional steps you can take to resolve this:
- Update your system:
Ensure that all your system components, including Linux, are up-to-date.
Run sudo apt-get update and then sudo apt-get upgrade in the Command Prompt or terminal.
- Remove older version of AVM package:
Sometimes, old versions of packages can cause issues with newer installations.
To remove an older version, run:
sudo apt-get purge arm-linux-gnueee-
- Reinstall AVM using the official website or a trusted source:
Try reinstalling AVM from its official website: <
If you’re still encountering issues, consider:
- Rechecking your system configuration and package installations.
- Running `sudo apt-get install -y –no-gconf –fix-broken build-essential’ (or another compatible command).
- Searching for specific error messages or more detailed instructions on the AVM website.
By following these steps, you should be able to resolve the errors you’re experiencing when installing Arm Virtual Machine on your WSL environment.