question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

libgstapp shared libraries not available on WSL2

See original GitHub issue

Description

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:

image

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:closed
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found