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 <[email protected]> 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 <[email protected]> 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
>> [email protected]
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
NixOS Linux <http://nixos.org>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to