diff -Naur multipath-tools-0.9.5.orig/libmultipath/Makefile multipath-tools-0.9.5/libmultipath/Makefile --- multipath-tools-0.9.5.orig/libmultipath/Makefile 2023-04-06 08:47:48.000000000 +0200 +++ multipath-tools-0.9.5/libmultipath/Makefile 2023-04-13 16:22:10.574726000 +0200 @@ -7,7 +7,7 @@ CPPFLAGS += -I$(mpathutildir) -I$(mpathcmddir) -I$(nvmedir) -D_GNU_SOURCE $(SYSTEMD_CPPFLAGS) CFLAGS += $(LIB_CFLAGS) LIBDEPS += -lpthread -ldl -ldevmapper -ludev -L$(mpathutildir) -lmpathutil -L$(mpathcmddir) -lmpathcmd \ - -lmount -lurcu -laio $(SYSTEMD_LIBDEPS) + -lmount -lurcu -laio -lncurses $(SYSTEMD_LIBDEPS) # object files referencing MULTIPATH_DIR or CONFIG_DIR # they need to be recompiled for unit tests diff -Naur multipath-tools-0.9.5.orig/multipathd/Makefile multipath-tools-0.9.5/multipathd/Makefile --- multipath-tools-0.9.5.orig/multipathd/Makefile 2023-04-06 08:47:48.000000000 +0200 +++ multipath-tools-0.9.5/multipathd/Makefile 2023-04-13 16:21:34.542726000 +0200 @@ -20,7 +20,7 @@ CLI_LIBDEPS := -L$(mpathutildir) -lmpathutil -L$(mpathcmddir) -lmpathcmd \ -ludev -ldl -lurcu -lpthread $(SYSTEMD_LIBDEPS) LIBDEPS := -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist \ - -ldevmapper $(CLI_LIBDEPS) + -ldevmapper -lncurses $(CLI_LIBDEPS) ifeq ($(READLINE),libedit) RL_CPPFLAGS := -DUSE_LIBEDIT