Issues with a frozen Python application

Flavio Calva f.calva at gmail.com
Tue Aug 10 19:07:13 UTC 2021


On Tue, 10 Aug 2021 at 11:19, Alexander Larsson <alexl at redhat.com> wrote:
> I would recommend running the built app under strace and look for
> math.so in the logs to see where it tries to find the .so files.

Thank you very much for your answer!

Here is what I get when I launch the built application without 'flatpak run':

flavio at ci622:~/.local/share/flatpak/app/org.p3d.Asteroids/x86_64/master/active/files/bin>
strace ./asteroids
[...]
stat("/home/flavio/.local/share/flatpak/app/org.p3d.Asteroids/x86_64/master/db72dc4349f7b827bc403d18c943572e1c0a3a74dea7533af722e664d28f8f6f/files/bin/math.so",
{st_mode=S_IFREG|0755, st_size=71696, ...}) = 0
[...]
openat(AT_FDCWD,
"/home/flavio/.local/share/flatpak/app/org.p3d.Asteroids/x86_64/master/db72dc4349f7b827bc403d18c943572e1c0a3a74dea7533af722e664d28f8f6f/files/bin/math.so",
O_RDONLY|O_CLOEXEC) = 3
[...]
The application works: it correctly finds math.so. It seems that it
looks for math.so inside bin/, as expected. Instead, when I launch
'flatpak run org.p3d.Asteroids', I get the error of the previous
email.

What could I do? Thank you!


More information about the Flatpak mailing list