libgstapp shared libraries not available on WSL2
See original GitHub issueDescription
When trying to run the Basic app structure Flet docs example on WSL2(Ubuntu 20.04) I get an error that libgstapp is not a file or directory. Perhaps this is because of the way WSL works that some shared files aren’t available that are normally available in a full Ubuntu install? I can’t seem to find this lib on apt.
Flet was installed in a venv with Python 3.8.10. Code example to reproduce the issue:
import flet as ft
def main(page: ft.Page):
# add/update controls on Page
pass
ft.app(target=main)
Describe the results you received:
/home/myuser/.flet/bin/flet-0.3.0.dev892/flet/flet: error while loading shared libraries: libgstapp-1.0.so.0: cannot open shared object file: No such file or directory
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet
):
Name: flet
Version: 0.3.0.dev892
This is a pre-release but I’ve had the same results with Version: 0.2.2
Operating system:
Ubuntu 20.04 on Windows 10 (WSL2).
Additional environment details:
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
1.3.1 Ubuntu 18.04 WSL missing so · Issue #69 · Juniper/libxo
xopo: error while loading shared libraries: libxo.so.0: cannot open shared object file: No such file or directory.
Read more >Sharing R library's between linux subsystem for windows and ...
I have R installed in the windows. I recently tried to call an R script in my ubuntu but it told me the...
Read more >Can't install devtools in WSL2 - General - RStudio Community
I can't seem to install devtools under WSL2 / Ubuntu 20.04 ... absolute paths in shared objects and dynamic libraries mv: cannot move...
Read more >[SOLVED] Spriter Pro is not starting on Ubuntu
Spriter Pro: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory.
Read more >cdo: error while loading shared libraries: libQt5Core.so.5 ...
Thank you @steeldriver for pointing it, I was confusing library names with package names. I used sudo strip --remove-section=.note.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg
Yep, added to the docs.