Replies: 2 comments
-
I had a similar issue running Flet in desktop mode on older Linux distributions, and I think I found a temporary solution. Background:My Flet version: (.venv) [root@localhost 07:24 flet] # pip list | grep flet
flet 0.27.6
flet-desktop-light 0.27.6
flet-web 0.27.6 (I intentionally did not install My application is designed to run in desktop mode ( In my project, I redirected the search path for Flet client files for convenience: flet_inner_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "flet_client", "flet-0.27.6", "flet")
os.environ["FLET_VIEW_PATH"] = flet_inner_path At this path, I extracted the archive: I noticed that the binary still requires [root@localhost 11:05 flet] # ldd flet_client/flet-0.27.6/flet/flet | grep librive
librive_common_plugin.so => /home/user/PycharmProjects/flet/flet_client/flet-0.27.6/flet/lib/librive_common_plugin.so (0x00007f1198b16000) This Temporary Solution:After some research, I did the following:
Now everything seems to work fine—Flet applications can run in desktop mode on older Linux distributions. |
Beta Was this translation helpful? Give feedback.
-
Wow! Thats what they call "костыль" :) |
Beta Was this translation helpful? Give feedback.
-
Hello,
is it really necessary for
flet-desktop-light
to be depenant onlibrive_common_plugin.so
even withoutflet-rive
package installed?Issue is that Im trying to run flet app on specific linux distro and having errors:
.flet/bin/flet-0.26.0/flet/flet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by .flet/bin/flet-0.26.0/flet/lib/librive_common_plugin.so)
.flet/bin/flet-0.26.0/flet/flet: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by .flet/bin/flet-0.26.0/flet/lib/librive_common_plugin.so)
So, this
librive_common_plugin.so
looking for libs, which can not be updated for now, but I dont even use rive in my appBeta Was this translation helpful? Give feedback.
All reactions