Link Search Menu Expand Document

Known issues

Launcher and Common

Please see the wsldl document.

glibc

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

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.

Qt5

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/MariaDB

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 innodb_use_native_aio=0 to [mysqld] section.

[mysqld]
innodb_use_native_aio=0

D-Bus

Systemd D-Bus daemon doesn’t work in WSL1. We recommend using dbus-x11ᴬᵁᴿ. Download dbus-x11-1.12.16-1-x86_64.pkg.tar.xz and run pacman -U dbus-x11-1.12.16-1-x86_64.pkg.tar.xz to install.

For start D-Bus daemon, run:

sudo mkdir /run/dbus -p
sudo dbus-daemon --system

systemd/systemctl

WSL does not supports systemd natively, so we recommend using a systemctl alternative script or bottle for apps that require it.

WSL1 / WSL2

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.

WSL2

You can use systemd bottle “subsystemctl”, “genie”, “wsl-distrod” or “bottled-shell”.

Using any of the aformentioned solutions, will allow you to run systemd completely.

subsystemctl

You can download PKGBUILD and build it.

See here for how to use it.

genie

You can use PKGBUILDs from here.

See here for how to use it.


Back to top

Copyright © 2020 Wsldl-pg Documentation Team. Distributed by Creative Commons Attribution 4.0 International License.