--- expect5.45/Makefile.in.orig 2018-02-01 20:34:34.725486924 +0000 +++ expect5.45/Makefile.in 2018-02-01 20:36:35.863695210 +0000 @@ -397,7 +397,7 @@ @TCL_LIB_SPEC@ \ @TCL_DL_LIBS@ @PKG_LIBS@ @MATH_LIBS@ \ @TCL_CC_SEARCH_FLAGS@ \ - @EXP_CC_SEARCH_FLAGS@ + -R $(pkglibdir) @EXP_CC_SEARCH_FLAGS@ $(SETUID) expect expectk: