--- rpmdb/Makefile.am.orig	2007-02-03 19:58:47.000000000 +0100
+++ rpmdb/Makefile.am	2007-08-13 12:43:09.000000000 +0200
@@ -53,6 +53,7 @@
 	tagname.c tagtbl.c
 librpmdb_la_LDFLAGS = -no-undefined -release $(LT_CURRENT).$(LT_REVISION) \
 	$(top_builddir)/rpmio/librpmio.la \
+	@LTLIBICONV@ \
 	@WITH_POPT_LIB@ \
 	@WITH_SQLITE3_LIB@ \
 	@WITH_LIBELF_LIB@