[Nix-dev] Building portable linux binaries on NixOS

Luca Bruno lethalman88 at gmail.com
Wed Oct 7 20:29:32 CEST 2015


go binaries are not static.... "static" in go land means go binaries don't
depend externally on other go sources.

On Wed, Oct 7, 2015 at 7:21 PM, zimbatm <zimbatm at zimbatm.com> wrote:

> What is the output of `ldd go-app` ?
>
> Go binaries should be static unless you're using gccgo.
>
> On Wed, 7 Oct 2015 18:18 Kamil Chmielewski <kamil.chm at gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to build Linux binaries from Go source code, but when I move
>> it to Ubuntu and I try to run it there all I get is:
>> -bash: ./go-app: No such file or directory
>>
>> Is there any simple way to patch Nix binary and make it runnable under
>> other distros?
>>
>> Cheers,
>> Kamil
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
NixOS Linux <http://nixos.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151007/0ce078a2/attachment.html 


More information about the nix-dev mailing list