Please see the wsldl document.
The default glibc is optimized for the new kernel and uses syscall, which is not implemented in WSL1.
If you don’t use glibc with a patch that isn’t the mainline, your instance won’t start.
You can use
glibc-linux4ᴬᵁᴿ package instead.
You can install from archlinuxcn community repository (can auto-update, recommend)
echo "[archlinuxcn] Server = https://repo.archlinuxcn.org/$arch" >> /etc/pacman.conf sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring && sudo pacman -S glibc-linux4
or you can install from AUR helper
yay -S glibc-linux4
fakeroot is using SYSV IPC by default. but WSL1 does not support it now.
You can use
fakeroot-tcpᴬᵁᴿ package instead. (WSL2 doesn’t require that)
Download fakeroot-tcp-1.23-1-x86_64.pkg.tar.xz and run
pacman -U fakeroot-tcp-1.23-1-x86_64.pkg.tar.xz to install.
qt >=5.10 library doesn’t work in WSL1. This is an issue with WSL.(Please see Microsoft/WSL#3023)
Please execute this line on root:
strip --remove-section=.note.ABI-tag /usr/lib/libQt5Core.so.5
MySQL >=8 uses the native AIO interface by default. WSL1 does not support it, so you need to configure it. Edit /etc/my.cnf.d/server.cnf for add
For start D-Bus daemon, run:
sudo mkdir /run/dbus -p sudo dbus-daemon --system
WSL does not supports systemd natively, so we recommend using a systemctl alternative script or bottle for apps that require it.
You can use a systemctl alternative script. However, this is only partially compatible.
Download systemd-altctl-1.4.4181-1-any.pkg.tar.xz and run
pacman -U systemd-altctl-1.4.4181-1-any.pkg.tar.xz to install.
Using any of the aformentioned solutions, will allow you to run systemd completely.
You can download PKGBUILD and build it.
You can use PKGBUILDs from here.