On 10/30/2015 10:07 PM, Muayyad AlSadi wrote:
hi,

I'm on f22 and have consul and etcd from the repos

ldd /usr/bin/consul
linux-vdso.so.1 (0x00007ffc98fa2000)
liblmdb.so.0.0.0 => /lib64/liblmdb.so.0.0.0 (0x00007f99bc1b5000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f99bbf99000)
libc.so.6 => /lib64/libc.so.6 (0x00007f99bbbd8000)
/lib64/ld-linux-x86-64.so.2 (0x0000562f58dbf000)

ldd /usr/bin/etcd
not a dynamic executable

I found that when CGO_ENABLED=0 it would be statically linked
the dynamic one like consul above is not actually dynamically linked (because of the size)

are there some fedora guidelines for golang apps?
are there macros and helpers for rpm?


https://fedoraproject.org/wiki/PackagingDrafts/Go