[syslog-ng] [Bug 115] libsyslog-ng.so is not linked with glib/cap but uses glib/ cap symbols
bugzilla at bugzilla.balabit.com
bugzilla at bugzilla.balabit.com
Wed Feb 23 10:58:51 CET 2011
https://bugzilla.balabit.com/show_bug.cgi?id=115
--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu> 2011-02-23 10:58:51 ---
this is on purpose. all static libs are compiled into the main syslog-ng executable in this case and libsyslog-ng.so doesn't have them, but should refer to
them through the main executable.
It did work for me at least once for Linux (and I know it wouldn't work on other platforms), and as it seems you have trouble with linking the unit tests only.
Does the main binary work in this case?
Since libtool doesn't support multiple -Wl,-Bdynamic/-Wl,-Bstatic options I bypass it in this case for the main binary. But this causes problems with all
programs during linking, such as the unit tests. (does the pdbtool binary work in this case?)
My idea is not to use DEPS_LIBS in those cases, but rather the dependency libs, which means that programs will be linked dynamically regardless of the
--enable-mixed-linking option. The only alternative is to bypass libtool even in these cases, but I think that's too fragile, and it shouldn't matter if those
are linked dynamically.
What do you think?
--
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the syslog-ng
mailing list