When I install tesseract, the following error occurs. How can I solve it?
ld: library not found for -lpango-1.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [text2image] Error 1
make: *** [training] Error 2
For my Mac, the chip type is M1, and the macos Version is Ventura 13.0 (22A380). Here are the details.
I install the dependent libraries according to the official documents.
Libpango installation succeeded.
But when I execute the make training command, I get the following error. What should I do?
There is a library of pango under my Cellar folder.
I don't know how to solve this problem. Can someone help me?