please try my golang snap

Shuduo Sang shuduo.sang at canonical.com
Sun Feb 5 13:55:14 UTC 2017


On Fri, Feb 3, 2017 at 4:52 PM, Shuduo Sang <shuduo.sang at canonical.com>
wrote:

> Hi,
>
> I got following output after run it:
>
> $ go-17-mwhudson.go-17
> /snap/go-17-mwhudson/2/gowrapper: line 3: /snap/go-17-mwhudson/2/bin/go:
> No such file or directory
>
> My snap version is:
> $ snap version
> snap    2.21
> snapd   2.21
> series  16
> ubuntu  16.04
>
> Please let me know what mistake I have.
>

UPDATE: I notice the go binary is referred to library from /snap/core
$ file /snap/go-17-mwhudson/current/bin/go
/snap/go-17-mwhudson/current/bin/go: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter
/snap/core/current/lib/x86_64-linux-gnu/ld-2.23.so, for GNU/Linux 2.6.32,
BuildID[sha1]=3e694c21430e17b6bba99bd1828696a784ffab8a, not stripped

But I have /snap/ubuntu-core only.

After refresh ubuntu-core from candidate channel then it transit to
/snap/core now go-17 works well. Thanks zyga's help.

>
> Thanks,
>
>
>
> On Fri, Feb 3, 2017 at 4:39 AM, Michael Hudson-Doyle <
> michael.hudson at canonical.com> wrote:
>
>> Prompted by some upstream discussion, I've made a snap of Go (just 1.7.4
>> for now):
>>
>> $ sudo snap install --edge --classic go-17-mwhudson
>>
>> It has aliases for go-17 (which will probably be the final snap of the
>> snap if this ends up being official) and go (the thinking being that there
>> will also be go-16, go-18 etc snaps and users can select which they use by
>> selecting an alias).
>>
>> The source is at https://code.launchpad.net/
>> ~mwhudson/+git/gosnap/+ref/master.
>>
>> Please let me know how this works for you!
>>
>> Cheers,
>> mwh
>>
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170205/502ef280/attachment.html>


More information about the Snapcraft mailing list