Tesseract on OSX: dyld: Library not loaded: /usr/local/lib/libtiff.5.dylib -


i installed tesseract locally on mac , installed leptonia . xaamp use utility server .

i have following problem , when launch command tesseract terminal successful, however, if launch tesseract command php script gives me error :

dyld: library not loaded: /usr/local/lib/libtiff.5.dylib referenced from: /usr/local/opt/leptonica/lib/liblept.4.dylib reason: incompatible library version: liblept.4.dylib requires version 8.0.0 or later, libtiff.5.dylib provides version 6.0.0

can me? thank you

i have problem similar, not same. can try this: brew install tesseract if not symlink, /usr/local/bin not writable, use command: sudo chown -r $(whoami) /usr/local

after install autoconf, automake, , libtool command: brew install autoconf automake libtool

i think need use 1 well: brew install leptonica --with-libtiff use link command link libs: brew link tesseract, brew link automake, brew link libtool, etc...

i hope helps you.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -