Public bug reported: If your snap links (directly or indirectly, for instance via the Ubuntu.UnityWebApps QML module) to the libunity.so 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/libUnityWebApps.so: (libunity-protocol- private.so.0: cannot open shared object file: No such file or directory)\n" libunity-protocol-private.so *is* present in the ubuntu-app-platform snap, but it's in a subdirectory which is not in the library path: /usr/lib/x86_64-linux-gnu/libunity/libunity-protocol-private.so.0 (not the "libunity" subdirectory). It looks like (info obtained with "objdump -a -x") libunity.so 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. ** Affects: ubuntu-app-platform Importance: Undecided Status: New ** Affects: libunity (Ubuntu) Importance: Undecided Status: New ** Also affects: libunity (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libunity in Ubuntu. Matching subscriptions: dp-libunity https://bugs.launchpad.net/bugs/1649523 Title: libunity-protocol-private.so cannot be found Status in Ubuntu App Platform: New Status in libunity package in Ubuntu: New Bug description: If your snap links (directly or indirectly, for instance via the Ubuntu.UnityWebApps QML module) to the libunity.so 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/libUnityWebApps.so: (libunity- protocol-private.so.0: cannot open shared object file: No such file or directory)\n" libunity-protocol-private.so *is* present in the ubuntu-app-platform snap, but it's in a subdirectory which is not in the library path: /usr/lib/x86_64-linux-gnu/libunity/libunity-protocol-private.so.0 (not the "libunity" subdirectory). It looks like (info obtained with "objdump -a -x") libunity.so 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-app-platform/+bug/1649523/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp