--- a/configure +++ b/configure @@ -1728,7 +1728,7 @@ else EOF MYSQLINCLUDES=`$d/mysql_config --include` - MYSQLLIBS=`$d/mysql_config --libs` + MYSQLLIBS=`$d/mysql_config --libs | sed 's/-rdynamic//'` DATABASE_DIR="${DATABASE_DIR} mysql" --- a/configure.in +++ b/configure.in @@ -60,7 +60,7 @@ then else AC_DEFINE(HAVE_MYSQL) MYSQLINCLUDES=`$d/mysql_config --include` - MYSQLLIBS=`$d/mysql_config --libs` + MYSQLLIBS=`$d/mysql_config --libs | $(SED) 's/-rdynamic//'` DATABASE_DIR="${DATABASE_DIR} mysql" --- a/Makefile.in +++ b/Makefile.in @@ -63,7 +63,7 @@ recurse: @for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a ulogd.conf - $(CC) $(CFLAGS) -rdynamic $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS) + $(CC) $(CFLAGS) $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS) edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'