Skip to content

Snapcraft 9 incorrectly sets LD_LIBRARY_PATH and QT_LIBRARY_PATH in the extensions #6327

Description

@mr-cal

Check existing issues

  • I've verified that this request isn't described by any existing issues.

Request

Don't set LD_LIBRARY_PATH and QT_LIBRARY_PATH in the desktop extensions.

The fix is to apply the fixes from #6016 to main.

Additionally, Snapcraft should correct the symlinks for "$SNAP/lxqt-support" as done in #6016.

The problem it solves

Last year, #5917 added LD_LIBRARY_PATH to the extension’s build-environment. This prevents Snapcraft from setting a default LD_LIBRARY_PATH, so it had to be moved to the launcher script in #6016.

#6016 landed on the hotfix/8.14 branch. When I merged that branch back to main in #6104, the fix in #6016 got partially applied in the merge. Thus, Snapcraft 9.0 never got the fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions