Open CastenettoA opened 1 week ago
I share that in Windows Subsystem for Linux (WSL 2) i follow this tutorial, making pear terminal app, and sadly I found a issue.
This the steps to try to reproduce the error:
pear run --dev .
and open at least one more terminal with the key as inputThe version of pear is the 4444. Now I try directly on a Linux machine, maybe this is a problem with the structure of WSL2 itself. My best, andrea.
@CastenettoA thank you for the details explanation and fixes! What linux distro and version were you using with WSL2? And was it a fresh installation or have you installed packages previously?
I followed the "Pear Deskop Chat App" tutorial from the docs on WSL2 (Windows subsystem for Linux 2, the most recent version).
Initially I have some issues on WSL that I solved. These issues partially prevented the project from behaving normally. Note: the installation of 'pear runtime' is archieved correctly without on my WSL problems.
Now that I can run the project correctly on WSL I share with you my simple fixes.
CASE 1 - libgbm.so.1 not installed
pear run --dev .
/home/myUserName/.config/pear/by-dkey/7216eeac5c87....4ea8bd3b28/1/by-arch/linux-x64/bin/pear-runtime-app/pear-runtime: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
CASE 2 - Failed to connect to the bus
pear run --dev .
[23..7:10..4/10..10.93...2:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory...
`
My best, Andrea.