[syslog-ng] Newer libtool and autoconf versions?

Corinna Vinschen vinschen at redhat.com
Sat Dec 18 15:20:03 CET 2010


On Dec 17 11:00, Matthew Hall wrote:
> On Fri, Dec 17, 2010 at 02:07:51PM +0100, Corinna Vinschen wrote:
> > Here's how you avoid the warning:
> > 
> > diff --git a/configure.in b/configure.in
> > index ea671be..0e534f8 100644
> > --- a/configure.in
> > +++ b/configure.in
> > @@ -156,7 +156,7 @@ AC_PROG_YACC
> >  AM_PROG_LEX
> >  AC_PROG_MAKE_SET
> >  PKG_PROG_PKG_CONFIG
> > -LT_INIT([disable-static])
> > +LT_INIT([dlopen disable-static])
> >  
> >  dnl ***************************************************************************
> >  dnl Validate yacc
> > diff --git a/modules/dbparser/Makefile.am b/modules/dbparser/Makefile.am
> > index 2a08c29..76a6cef 100644
> > --- a/modules/dbparser/Makefile.am
> > +++ b/modules/dbparser/Makefile.am
> > @@ -26,7 +26,7 @@ libdbparser_la_LDFLAGS = -avoid-version -module
> >  bin_PROGRAMS = pdbtool
> >  pdbtool_SOURCES = pdbtool.c patternize.c patternize.h
> >  pdbtool_CPPFLAGS = $(AM_CPPFLAGS) @OPENSSL_CFLAGS@
> > -pdbtool_LDADD = ../../lib/libsyslog-ng.la libdbparser.la @OPENSSL_LIBS@ @DEPS_LIBS@
> > +pdbtool_LDADD = ../../lib/libsyslog-ng.la -dlpreopen libdbparser.la @OPENSSL_LIBS@ @DEPS_LIBS@
> >  
> >  BUILT_SOURCES = dbparser-grammar.y dbparser-grammar.c dbparser-grammar.h
> >  EXTRA_DIST = $(BUILT_SOURCES) radix-find.c dbparser-grammar.ym
> 
> Hi Corinna,
> 
> Funny you should mention this one.
> 
> I had a similar problem here where listing the OpenSSL ahead of listing 
> the DEPS_LIBS caused me to pick up the system OpenSSL instead of the 
> more updated OpenSSL in the install prefix.
> 
> So it seems I'm not the only one who ran into it.
> 
> For what it's worth on my end I worked around it using LIBS env var 
> which gets subbed into the linker args ahead of where LDFLAGS does so 
> your stuff gets put earlier in the search path.

Hi Matthew,

I'm sorry, but I don't see how these two items are related.  The problem
the above patch is trying to fix is to avoid a warning when linking
against a dlopen module.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


More information about the syslog-ng mailing list