classic snap fails to find libraries

Dan Kegel dank at
Tue Jan 24 03:54:26 UTC 2017

I dunno if there's a bug open for it, but I mentioned another
workaround earlier this month:

On Mon, Jan 23, 2017 at 7:49 PM, Leo Arias <leo.arias at> wrote:
> After reading the other thread about a similar issue, I moved my
> libraries to stage-packages and that worked.
> My problem now is that ssh can't call a binary from a snap, it will
> only work using the full path. Let's say I have the hello snap
> installed in Then:
> elopio at ubuntu-xenial:~/mosh$ ssh hello
> elopio at's password:
> bash: hello: command not found
> elopio at ubuntu-xenial:~/mosh$ ssh /snap/bin/hello
> elopio at's password:
> Hello, world!
> I seem to remember that there was a bug open about this, but I can't
> find it. Anyone remembers what's the problem here?
> This is not blocking the mosh snap, but in order to make it work one
> would have to call it like this:
> mosh --server=/snap/bin/mosh-server
> after enabling the alias.
> --
> Snapcraft mailing list
> Snapcraft at
> Modify settings or unsubscribe at:

More information about the Snapcraft mailing list