[syslog-ng] [Bug 115] libsyslog-ng.so is not linked with glib/cap but uses glib/ cap symbols

Corinna Vinschen vinschen at redhat.com
Wed Feb 23 12:19:09 CET 2011


On Feb 23 11:35, bugzilla at wwwold.balabit.com wrote:
> https://bugzilla.balabit.com/show_bug.cgi?id=115
> 
> 
> 
> 
> 
> --- Comment #3 from Balazs Scheidler <bazsi at balabit.hu>  2011-02-23 11:35:24 ---
> well, libsyslog-ng.so is a private library, and the reason it needs to be dynamic, is that non-Linux platforms do not always allow sharing symbols back to
> modules from the main executable.
> 
> I played a lot of this issue, and this was the solution that worked everywhere. The problematic platform was by the way AIX.
> 
> So libsyslog-ng.so could and probably should be shoved in $prefix/lib/syslog-ng, at least in case mixed linking is used.

Please don't do this if syslog-ng is linked against it.  libsyslog-ng.so
should stay where it's found for load-time linking by system default.
libtool (at least the newer ones) will do the right thing in this case.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


More information about the syslog-ng mailing list