[syslog-ng] [patch] fix linking issue in 3.2beta1

Balazs Scheidler bazsi at balabit.hu
Tue Oct 19 16:51:33 CEST 2010


On Mon, 2010-10-18 at 10:42 +0200, Guillaume Rousse wrote:
> Le 18/10/2010 10:18, Balazs Scheidler a écrit :
> > Hi,
> > 
> > Thanks for the patch, but I it was my intent not to link the plugins
> > against GLIB & other dependencies.
> > 
> > Do you have an error message that this patch actually fixes?
> Build failure, when -Wl,--no-undefined flag is used.

Can you tell me the platform and the error messages that you got?
Judging the argument, it seems like GNU ld, and I did compilations of
this code on Linux and it worked.

> 
> > The reason that the plugins are not linked against GLIB and other is
> > that I have to support an almost static syslog-ng, in which case GLib is
> > statically linked into the libsyslog-ng.so shared object and plugins
> > pull it from there.
> I may indeed disable this flag here, it's primary target is shared
> library, not plugin.

-- 
Bazsi




More information about the syslog-ng mailing list