packaging golang guidelines (like etcd, consul)

Muayyad AlSadi alsadi at gmail.com
Fri Oct 30 21:07:44 UTC 2015


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20151030/3130676b/attachment.html>


More information about the devel mailing list