On 3 February 2017 at 20:41, Loïc Minier <[email protected]> wrote: > Hi, > > On Fri, Feb 3, 2017 at 11:20 AM, Roberto Mier Escandón > <[email protected]> wrote: >> >> I'm having a problem with a snap which start certain daemon when >> installed. This daemon tries to load certain shared library but it's not >> able to do it even in devmode [1]. However it loads it well in classic >> mode. The library is in a rw path, provided directly to a dlopen method >> [1]. Have anybody hit this kind of issue before? > > > In classic mode, you see libraries from your classic Ubuntu system including > X11; in devmode/confined mode, you only see system libraries from the core > snap which doesn't contain X11. > > I suggest you embed X11 and other libs that your dlopen-ed library depends > on.
Another alternative is to use the ubuntu-app-platform snap, as described here: https://insights.ubuntu.com/2016/12/08/using-the-ubuntu-app-platform-content-interface-in-app-snaps/ Together with the desktop-launch script, this takes care of getting a number of common desktop libraries to work under confinement. James. -- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
