diff -urN ../exim-4.89.orig/src/exim.c ./src/exim.c --- ../exim-4.89.orig/src/exim.c 2017-03-04 23:21:35.000000000 +0200 +++ ./src/exim.c 2017-08-19 19:44:08.696510000 +0300 @@ -1211,7 +1211,7 @@ void *dlhandle; void *dlhandle_curses = dlopen("libcurses." DYNLIB_FN_EXT, RTLD_GLOBAL|RTLD_LAZY); -dlhandle = dlopen("libreadline." DYNLIB_FN_EXT, RTLD_GLOBAL|RTLD_NOW); +dlhandle = dlopen("/usr/lib/libreadline." DYNLIB_FN_EXT, RTLD_GLOBAL|RTLD_NOW); if (dlhandle_curses != NULL) dlclose(dlhandle_curses); if (dlhandle != NULL)