On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu <xiaoguo....@canonical.com> wrote:
> Hi, > > I just tried to install the snapd and installed a hello-world snap app on > 14.04 desktop. However, I found a problem. When I un the hello-world, it > shows: > > liuxg@liuxg:/snap/bin$ hello-world > hello-world: command not found > > This is expected behavior right now. PATH is adjusted in /etc/profile.d/apps-bin-path.sh (comes with the snapd package). /etc/profile and the entries in /etc/profile.d/* are only considered for login shells. With that, a reboot, logout/login, or sourcing /etc/profile in your current shell will give you the correct PATH setup. We are looking into letting the user know when installing the debian package (as opposed to the situation where snapd is already part of the image). See https://github.com/snapcore/snapd/pull/2819 for reference. Thanks for testing, Thomas > Which means that /snap/bin path is not added to the path after installing > the core. Also, when I run it under the /snap/bin, it shows: > > liuxg@liuxg:/snap/bin$ ./hello-world > ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload cannot > be preloaded (cannot open shared object file): ignored. > ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload cannot > be preloaded (cannot open shared object file): ignored. > Hello World! > > My desktop info is: > > liuxg@liuxg:~$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 14.04.5 LTS > Release: 14.04 > Codename: trusty > > liuxg@liuxg:~$ snap list > Name Version Rev Developer Notes > core 16.04.1 888 canonical - > hello-world 6.3 27 canonical - > > Thanks & best regards, > XiaoGuo > > > On Wed, Feb 8, 2017 at 5:35 AM, Andrew Mason <andrew@miniatureworldmaker. > com.au> wrote: > >> Awesome, i am going to give this a try! >> >> On 8 February 2017 8:01:30 am ACDT, Manik Taneja <ma...@canonical.com> >> wrote: >>> >>> >>> >>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth <m...@ubuntu.com> >>> wrote: >>> >>>> On 07/02/17 20:17, Thomas Voß wrote: >>>> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xe >>>> nial/+bug/1655724 >>>> > was released to the updates pocket today. >>>> >>>> Congrats! Quick feedback from folks with Trusty (14.04 LTS) systems, >>>> cloud or desktop, would be welcome. Pick a favorite snap and take it for >>>> a spin. >>>> >>> The experience is very clean now. I just tried on AWS and have >>> RocketChat up and >>> running- >>> >>> [image: Inline image 1] >>> Kudos to everyone involved in delivering this! >>> >>> Cheers, >>> Manik >>> >> >> -- >> Sent from my mobile device. >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/snapcraft >> >> > > > -- > XiaoGuo, Liu > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > >
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft