In order to install libltdl properly I needed to add an additional ../ to the mkinstalldirs variable. so it needed to read mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs -lindsey