[arch-general] [arch-dev-public] syslog-ng build error
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Thu May 28 15:45:14 EDT 2009
Jan de Groot wrote:
> On Wed, 2009-05-27 at 21:13 -0300, Gerardo Exequiel Pozzi wrote:
>
>> In any way, I would like to know the opinion of the developers. If you
>> continue with the current compilation of syslog-ng (mixed) or move to
>> a
>> fully shared.
>>
>
> I would say: fully shared.
>
> Doing so would introduce eventlog (108K), glib2 (10336K), pcre (2164K),
> gcc-libs (9068K), libcap (185K).
>
> Eventlog, gcc-libs and libcap aren't a problem at all, they're small and
> in case of gcc-libs already required on the system.
> For glib2, it's "huge", but given the fact that many people have this
> thing installed for other purposes anyways, I don't see the problem
> here. People with minimal systems could get rid of /usr/include anyways,
> which is where the most space is taken in case of glib2.
>
>
>
Yes!
Here is the patch [#1]
* Update the latest syslog-ng 3.0.2
* Fixed the license
* Removed uid.patch, not ncessary anymore, already fixed in 3.0.2
* Fixed missing \ in configure options so the rest option was discarded.
* Added two linked flags to reduce the numbers of unused direct depends.
* Shared mode is now default in 3.0.2
Resulting binary is 238K vs 2M
$ readelf -d /usr/sbin/syslog-ng | awk '/NEEDED/{print $5}'
[libglib-2.0.so.0]
[libevtlog.so.0]
[libssl.so.0.9.8]
[libcrypto.so.0.9.8]
[libwrap.so.0]
[libcap.so.2]
[libpcre.so.0]
[libc.so.6]
[#1] http://bugs.archlinux.org/task/14214#comment44342
--
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
More information about the arch-general
mailing list