cannot be found

Bug #1649523 reported by Alberto Mardegan on 2016-12-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu App Platform
libunity (Ubuntu)

Bug Description

If your snap links (directly or indirectly, for instance via the Ubuntu.UnityWebApps QML module) to the library, running it will fail with the following error:

    "file:///snap/amazon-webapp/x1/share/webbrowser-app/webcontainer/webapp-container.qml:21 plugin cannot be loaded for module \"Ubuntu.UnityWebApps\": Cannot load library /snap/amazon-webapp/x1/ubuntu-app-platform/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/UnityWebApps/ ( cannot open shared object file: No such file or directory)\n" *is* present in the ubuntu-app-platform snap, but it's in a subdirectory which is not in the library path:


(not the "libunity" subdirectory). It looks like (info obtained with "objdump -a -x") has this RPATH:

    RPATH /usr/lib/x86_64-linux-gnu/libunity

I'll try to see if using $ORIGIN in libunity helps; if not, we might have to play with LD_LIBRARY_PATH in the ubuntu-app-platform snap.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers