<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 3, 2017 at 11:20 AM, Roberto Mier Escandón <span dir="ltr"><<a href="mailto:roberto.escandon@canonical.com" target="_blank">roberto.escandon@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having a problem with a snap which start certain daemon when<br>
installed. This daemon tries to load certain shared library but it's not<br>
able to do it even in devmode [1]. However it loads it well in classic<br>
mode. The library is in a rw path, provided directly to a dlopen method<br>
[1]. Have anybody hit this kind of issue before?<br></blockquote><div><br></div><div>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.</div><div><br></div><div>I suggest you embed X11 and other libs that your dlopen-ed library depends on.</div><div><br></div><div>Cheers,</div></div><div>- Loïc Minier<br></div>
</div></div>