[Nix-dev] Building portable linux binaries on NixOS

zimbatm zimbatm at zimbatm.com
Wed Oct 7 19:21:51 CEST 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151007/9d603e2f/attachment-0001.html 


More information about the nix-dev mailing list