Merge ~baconyao/checkbox-iiotg/+git/checkbox-iiotg-classic:fix-shared-library-path into ~baconyao/checkbox-iiotg/+git/checkbox-iiotg-classic:master
Status: | Superseded |
---|---|
Proposed branch: | ~baconyao/checkbox-iiotg/+git/checkbox-iiotg-classic:fix-shared-library-path |
Merge into: | ~baconyao/checkbox-iiotg/+git/checkbox-iiotg-classic:master |
Diff against target: |
12 lines (+1/-0) 1 file modified
launchers/wrapper_local (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vic Liu (community) | Approve | ||
Doug Jacobs | Pending | ||
Review via email: mp+434413@code.launchpad.net |
This proposal has been superseded by a proposal from 2022-12-13.
Commit message
Add: Append needed path to LD_LIBRARY_PATH
Some cases are failed because their shared libraries are not found in
the snap shell with classic image. For instance, the command "vainfo"
and "edac-util" encounter this problem.
The proper way to solve this issue is appending the path to the
LDILIBRARY_PATH environment variable.
Description of the change
The test result of va-api and edac test cases on aaeon-tgl 22.04 Desktop (Beta):
https:/
We won't encounter the following issues in this fix
- edac/detect
- "edac-util: error while loading shared libraries: libedac.so.1: cannot open shared object file: No such file or directory"
- va-api/
- "vainfo: error while loading shared libraries: libva-x11.so.2: cannot open shared object file: No such file or directory"
@Patrick,
Please also validate on 20.04 desktop image, send an MR to branch series_classic20 if this change is also required, thank you.