--- src/Makefile.am~	2009-09-09 15:11:01.000000000 +0200
+++ src/Makefile.am	2009-09-27 04:40:42.000000000 +0200
@@ -73,6 +73,7 @@
 
 if TOOLKIT_GTK
 libabiword_2_8_la_LIBADD += text/fmt/gtk/libgtk.la
+libabiword_2_8_la_LIBADD += -lpng -lX11
 
 # headers are GTK only.
 libabiword_2_8_includedir = @ABIWORD_HEADERSDIR@
