Re: syslog-ng build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

VS
(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 )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux