[Buildroot] [PATCH v11 2/2] docker-engine: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 28 06:29:52 UTC 2016


Hello,

On Wed, 27 Jul 2016 18:57:32 -0700, Khem Raj wrote:

> you would need atleast go 1.5+ for dynamic libraries support. If thats not an issue
> then simply change the build cmds to something like
> 
> go build -linkshared ...

We have go 1.6.2, and it *does* link with dynamic libraries, see below:

> > $ arm-linux-gnueabihf-readelf -d output/target/usr/bin/dockerd | grep NEEDED
> > 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
> > 0x00000001 (NEEDED)                     Shared library: [libdl.so.0]
> > 0x00000001 (NEEDED)                     Shared library: [libdevmapper.so.1.02]
> > 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

However, it doesn't link some libraries as dynamic, and some others as
static, for some reason.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list