Google Earth Flatpak permissions issue (won't run)

Hi all, I’ve installed Google Earth using Flatpak, but can’t run it - when I try, I get the following error:

@localhost:~> flatpak run com.google.EarthPro
/app/extra/google/earth/pro/googleearth-bin: error while loading shared libraries: libcrypto.so.1.0.0: cannot enable executable stack as shared object requires: Permission denied

Using Tumbleweed with Plasma 6. Install is com.google.EarthPro version 7.3.6, from Flathub. I’m quite new to Tumbleweed (and Linux generally), so any help with this is much appreciated! I’ve tried uninstalling/reinstalling, installing at the system level, updating flatpak, running zypper dup, and restarting.

Thank you

Does

setsebool -P selinuxuser_execstack 1

help?

Yes, that fixed it! Thank you. TIL about SELinux - onto the reading list it goes.

It is a workaround and debugging step, not a solution. You should really report it to where this software comes from. It is very unlikely that libcrypto really requires executable stack, so it most likely is a build artefact.

Of course, seeing the long obsolete and unsupported OpenSSL version I do not hold my breath …

BTW you may consider adding it to the Portal:SELinux/Common issues - openSUSE Wiki

To illustrate:

bor@bor-Latitude-E5450:~/tmp/ge/opt/google/earth/pro$ patchelf --print-execstack libcrypto.so.1.0.0
execstack: X
bor@bor-Latitude-E5450:~/tmp/ge/opt/google/earth/pro$ patchelf --print-execstack /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
execstack: -
bor@bor-Latitude-E5450:~/tmp/ge/opt/google/earth/pro$ 

This is on Ubuntu 24.04 and the Flatpak refers to the Debian package so I assume libcrypto.so.1.0.0 was taken from Debian at some point. As you see, Ubuntu library does not require executable stack. And this is the only library in Google Earth that does.

I see, thank you for the additional context. To be honest some of that is over my head at this point, but good to know that this isn’t a fix to be relied on long-term, and some next steps I can take. It seems like the Flatpak Google Earth is buggy in general, (poorly made / ported?) I’ve had other permissions issues since making this post, and glitches where it seems like it just isn’t cooperating with my system.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.