diff -Nru multipath-tools-0.5.0.orig/multipathd/Makefile multipath-tools-0.5.0/multipathd/Makefile
--- multipath-tools-0.5.0.orig/multipathd/Makefile	2013-12-17 22:40:41.000000000 +0100
+++ multipath-tools-0.5.0/multipathd/Makefile	2014-06-23 23:42:21.483547735 +0200
@@ -9,7 +9,7 @@
 ifdef SYSTEMD
 	CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD)
 endif
-LDFLAGS += -lpthread -ldevmapper -lreadline
+LDFLAGS += -lpthread -ldevmapper -lreadline -ltermcap
 ifdef SYSTEMD
 	LDFLAGS += -lsystemd-daemon
 endif
