Trying to run this example after downloading Home Brew and installing tesseract. It’s erroring out when looking for the leptonica library. I don’t see any Cellar folder in the /usr/local. Where might it be installed?
dlopen(/usr/local/Cellar/leptonica/1.82.0/lib/liblept.5.dylib, 0x0002): tried: ‘/usr/local/Cellar/leptonica/1.82.0/lib/liblept.5.dylib’ (no such file), ‘/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/leptonica/1.82.0/lib/liblept.5.dylib’ (no such file), ‘/usr/local/Cellar/leptonica/1.82.0/lib/liblept.5.dylib’ (no such file
I tried to reinstall just in case and get
Warning: tesseract 5.5.0_1 is already installed and up-to-date.
To reinstall 5.5.0_1, run:
brew reinstall tesseract
Mac-mini:~ sharond214$ brew install leptonica
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
Warning: leptonica 1.85.0 is already installed and up-to-date.
To reinstall 1.85.0, run:
not sure what I’m doing wrong
Sharon