> /usr/local is standard lib path, so IMO there is not need to add it to configure (but maybe this is not true on each distribution ;-) ). Anyway leptonica presence is detected by pkg-config <https://github.com/tesseract-ocr/tesseract/blob/master/configure.ac#L423>.Check config.log ...