diff -upNr gpar2-0.3.orign/Makefile.am gpar2-0.3/Makefile.am
--- gpar2-0.3.orign/Makefile.am 2006-02-26 22:39:13.000000000 +0100
+++ gpar2-0.3/Makefile.am 2010-02-13 19:47:01.689078544 +0100
@@ -25,7 +25,7 @@ bin_PROGRAMS = gpar2
gpar2_SOURCES = gpar2.cc gpar2.h \
mainwindow.cc mainwindow.h
-AM_LDFLAGS = -lstdc++ -lsigc-2.0 `pkg-config gtkmm-2.4 --libs` -lpar2
+AM_LDFLAGS = -lstdc++ -lsigc-2.0 `pkg-config gtkmm-2.4 --libs` -lpar2 -ldl
INCLUDES = `pkg-config sigc++-2.0 gtkmm-2.4 --cflags`
AM_CXXFLAGS = -DLOCALEDIR='"$(prefix)/share/locale"'
diff -upNr gpar2-0.3.orign/Makefile.in gpar2-0.3/Makefile.in
--- gpar2-0.3.orign/Makefile.in 2006-02-26 22:40:37.000000000 +0100
+++ gpar2-0.3/Makefile.in 2010-02-13 19:46:56.298018252 +0100
@@ -187,7 +187,7 @@ target_alias = @target_alias@
gpar2_SOURCES = gpar2.cc gpar2.h \
mainwindow.cc mainwindow.h
-AM_LDFLAGS = -lstdc++ -lsigc-2.0 `pkg-config gtkmm-2.4 --libs` -lpar2
+AM_LDFLAGS = -lstdc++ -lsigc-2.0 `pkg-config gtkmm-2.4 --libs` -lpar2 -ldl
INCLUDES = `pkg-config sigc++-2.0 gtkmm-2.4 --cflags`
AM_CXXFLAGS = -DLOCALEDIR='"$(prefix)/share/locale"'
EXTRA_DIST = config.rpath gnome-logo-icon-transparent.png gpar2.xml \