10

tl;dr

libGLU.so.1 can't be accessed from within Flatpak for Heroic Launcher, but game executable can reach it when launched directly. Can't figure out how to give it access, and have never felt more like a hairless monkey in over its head.


Hi all,

Very sorry if this isn't the right place for this question, but I have been pulling my hair out yesterday and today trying to give a flatpak for Heroic Launcher access to libGLU.so.1. I am new to flatpak and Linux Mint (slowly trying to de-Microsoft), and it's mostly been smooth except for this one issue. I installed Heroic through the Mint Software Manager, linked to my GOG account and downloaded EU4 (native Linux version). There was a known issue with the Paradox Launcher and a missing symlink, which I managed, but trying to start EU4 through the launcher fails with error (./eu4: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory). When I run ldd on the executable from within the flatpak in terminal, I get libGLU.so.1 => not found. When I do it from my host, it resolves correctly (libGLU.so.1 => /lib/x86_64-linux-gnu/libGLU.so.1 (0x0000747db439c000).

I tried to add an override directly to the library, but first got an error that Path "/usr" is reserved by Flatpak. Then I tried to create a separate directory and copy the libs there and share it, which I think worked but the executable still didn't pick up the lib path. (Also, not sure it it's relevant but I think for versioning in the /usr file path, the libGLU.so.1 file is a symlink to the actual versioned file, libGLU.so.1.3.1, which is also in the same directory). Now I am trying to figure out how extensions work with Flatpak and it's not going well...

So I very clearly have no idea what I am doing, and feel like this must be a simple fix if I just knew the correct way to approach this. Any advice (including telling me that I'm insane for missing something stupidly easy), would be greatly appreciated.

you are viewing a single comment's thread
view the rest of the comments
[-] anamethatisnt@sopuli.xyz 3 points 10 months ago* (last edited 10 months ago)

Some alternatives:

  1. Download the offline installer from gog.com and install EU4 as a native package outside flatpak, then it should find your system lbiraries.
  2. Force Heroic to install the Windows version of EU4
  3. Install Flatseal and break the isolation of your Flatpak Heroic install so that you can point to the system library (not recommended)
[-] libretech@reddthat.com 2 points 10 months ago

Thank you! I actually don't even need to install with the offline installers to launch the game; if I just navigate to where it was installed by Heroic and manually click the executable it will launch properly. I just wanted to get it working through the launcher to hopefully be able to run multiplayer (and maybe have a slightly easier time with mods?) And honestly, it's just been driving me nuts not to be able to get around this sandboxing in some way. But appreciate your help!

this post was submitted on 18 Dec 2025
10 points (91.7% liked)

Linux Gaming

28009 readers
134 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

That includes posts generated by LLMs. It doesn’t matter if you “don’t have the time” or “would’ve written the same anyway”, or if “everyone’s doing it geez get with the times”.

For now it’ll also include “AI”-assisted projects that haven't had at least two months of (public, verifiable) dev time behind them.

Resources

Help:

Launchers/Game Library Managers:

General:

Discord:

IRC:

Matrix:

Telegram:

founded 3 years ago
MODERATORS