Skip to content

Fix library include path for remover/updater - #790

Open
kinnajowa wants to merge 1 commit into
TheAssassin:masterfrom
kinnajowa:master
Open

Fix library include path for remover/updater#790
kinnajowa wants to merge 1 commit into
TheAssassin:masterfrom
kinnajowa:master

Conversation

@kinnajowa

Copy link
Copy Markdown

This PR represents the minimum set of changes necessary to properly include shared libraries required by the remove/update tools into the private libdir. This bug prevented the removal of AppImages when using the default remove action specified in the .desktop file, as it silently fails due to the missing libraries (tested on Ubuntu 26.04).

No actual changes to code, just to CMakeList.txt files.

@TheAssassin

Copy link
Copy Markdown
Owner

Reproduced on Debian. Will look into it. Thanks!

@TheAssassin TheAssassin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's build some packages, and I'll try on my broken system ASAP!

@TheAssassin

Copy link
Copy Markdown
Owner

Thinking about it, maybe this should be solved with linuxdeploy. But I like your approach, too.

@TheAssassin

Copy link
Copy Markdown
Owner

This doesn't work:

Cannot mix incompatible Qt library (5.15.18) with this library (5.15.3)
Aborted (core dumped)

I'm not sure how this can happen, but it also happens in the old build if you set $LD_LIBRARY_PATH following the new rpath.

@TheAssassin

Copy link
Copy Markdown
Owner

Fun fact: when called like AppDir/bin/update, the tool works fine... what the heck is going on...

Maybe the real solution is to just rename the tool to a sensible name and install it. Or integrate it into ail-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants