[syslog-ng]trouble configuring syslog-ng with libraries
Balazs Scheidler
syslog-ng@lists.balabit.hu
Fri, 15 Apr 2005 10:02:22 +0200
On Thu, 2005-04-14 at 12:03 -0700, John Thrumston wrote:
> I tried the ./configure --enable-dynamic-linking as it suggests, got
> the exact same results.
>
> Sunfreeware has a newer version of GLIB (SMCglib-2.6.2 out there.
> My questions are, if I add that package.
> 1) how will the server know which version to use?
> 2. Will this corrupt any other packages that may currently be using
> the SUNWGlib that was installed?
>
> Sorry to ask all these questions, I just don't know library functions
> very well and don't want to blow the box up so to speak.
hm. the configure test checking static glib does not check whether
--enable-dynamic-linking was specified and always errors out.
This patch should fix it:
--- orig/configure.in
+++ mod/configure.in
@@ -113,7 +113,7 @@
blb_cv_static_glib=no)])
LIBS=$old_LIBS
-if test "x$blb_cv_static_glib" = "xno"; then
+if test "x$enable_dynamic_linking" = "xno" -a "x$blb_cv_static_glib" = "xno"; then
AC_MSG_ERROR([static GLib libraries not found, either link GLib dynamically using the --enable-dynamic-linking or install a static GLib])
fi
You'll need to regenerate the configure script after patching it
(using autoconf), alternatively you could also comment out this check
from the already generated configure script.
--
Bazsi