PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
334 stars 32 forks source link

Appimage won't work anymore #100

Open illusioon opened 2 years ago

illusioon commented 2 years ago

./SamRewritten-x86_64.AppImage /tmp/.mount_SamRewrxECfA/usr/bin/samrewritten: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full

PaulCombal commented 2 years ago

Did it work before? Did it break after an update?

What's your OS and version?

illusioon commented 2 years ago

Yes, it used to work, but after an update it stopped maybe because glib or glibc got updated.

My distro is void linux x86_64, kernel 5.13.19_1 , glib-2.70.0_1, glibc-2.32_2

PaulCombal commented 2 years ago

Can you build it on your machine? If you produce an AppImage yourself, does it work?

illusioon commented 2 years ago

Sorry to take so long to answer I was busy with my job.

So I build it on my machine and it works. Compiled from source(following the instructions README.MD) and then build a app image with "build_appimage.sh"

nolddor commented 2 years ago

Same problem here using:

SamRewritten worked last time i tried but not anymore...

PaulCombal commented 2 years ago

Does it work when you compile it yourself? If so feel free to upload it here to share with others

nolddor commented 2 years ago

Yes, building mine works like a charm. Could you somehow, host my build within your repository as an artifact? https://we.tl/t-GE5qmDwK2E (will be deleted after 7 days)

PaulCombal commented 2 years ago

Well your version doesn't work on my machine.. your GLIBC version is newer than mine so it crashes on startup. To be fair I don't have the energy to look into this issue, but would a Snap/flatpak version of SamRewritten would be a good alternative?

Anyway here's a long lasting link for your build

SamRewritten-Debian_bookworm-2a9fe6f-x86_64.AppImage.zip

nolddor commented 2 years ago

A snap version of SamRewritten would indeed be really helpful!

orowith2os commented 1 year ago

How goes on the alternative packaging of this? Is there any progress on getting it to work with the Steam flatpak, such as running the binaries in the same flatpak environment?

AFAIK SteamTinkerLaunch is packaged as a Steam flatpak runtime extension to allow it to interact with the Steam flatpak, so I'm thinking SamRewritten would need to do the same to work with it.

PaulCombal commented 1 year ago

@orowith2os as I said here, I'm waiting for a package manager to handle all the main dependencies to switch to it, then review the whole CI/CD pipeline

qurious-pixel commented 1 year ago

excluding libgmodule-2.0.so.0 is enough for it to run.

LD_LIBRARY_PATH=AppDir/usr/lib ./linuxdeploy-x86_64.AppImage --appdir AppDir --exclude-library=libgmodule-2.0 --output appimage
dotbanana commented 9 months ago

Does not work. Waste of time really.