[arch-general] syslog-ng build error

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed May 27 19:59:01 EDT 2009

Baho Utot wrote:
> Making syslog-ng 3.0.1-6 i686 in Clean Chroot
> gcc  -march=athlon -O2 -pipe -fomit-frame-pointer -Wall   -o syslog-ng
> main.o libsyslog-ng.a   -lrt -lnsl  -Wl,-Bstatic -lfl -lglib-2.0
> -levtlog   -lssl -lcrypto -lz  -lz  -lwrap -lcap -lpcre  -Wl,-Bdynamic
> -ldl  
> What is -lcap ?
> Is it looking for a static lib cap?
Yes I just talked about this with Hugo doria

syslog-ng needs libcap as static as others libs like glib2 openssl zlib,
eventlog, etc... because is compiled in mixed mode

So there are important issue here:

many deps (that need to be in the [core], small binary

(the current behaviour)
few deps (only glibc), big binary (~2MB) + security issues (if any of
static lib is afected and this pkg inst recompiled) + more memory usage
(this is very small in these days of course)

Also there is an open task for this without attention [#1]

[#1] http://bugs.archlinux.org/task/14214

Gerardo Exequiel Pozzi ( djgera )
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D

More information about the arch-general mailing list