Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have error : Error in findTiffCompression: function not present #58

Closed
cpusoft opened this issue Jul 22, 2015 · 6 comments
Closed

have error : Error in findTiffCompression: function not present #58

cpusoft opened this issue Jul 22, 2015 · 6 comments

Comments

@cpusoft
Copy link

cpusoft commented Jul 22, 2015

i have success install tesseract ,
tesseract 3.02.02
leptonica-1.71
libjpeg 6b : libpng 1.2.49 : zlib 1.2.8

and my libtiff locate in /usr/lib64
locate libtiff
/usr/lib64/libtiff.so.3
/usr/lib64/libtiff.so.3.9.4
/usr/lib64/libtiffxx.so.3
/usr/lib64/libtiffxx.so.3.9.4

so i add ~/.bash_profile with
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib64
and relogin.

but the error still there:
Tesseract Open Source OCR Engine v3.02.02 with Leptonica
Error in findTiffCompression: function not present
Error in pixReadStreamTiff: function not present
Error in pixReadStream: tiff: no pix returned
Error in pixRead: pix not read
Unsupported image type.

how i solve it ? thx alot

@zdenop
Copy link
Contributor

zdenop commented Jul 22, 2015

that means that leptonica was not compiled with tiff support

@zdenop zdenop closed this as completed Jul 22, 2015
@cpusoft
Copy link
Author

cpusoft commented Jul 22, 2015

i have tried leptonica-1.71/1.72 , both have same error.
should i use early leptonica , which version of leptonica is compatible ?
thx

@zdenop
Copy link
Contributor

zdenop commented Jul 22, 2015

what does it mean "i have tried"?
If you compile leptonica without libtiff support it does not help to try any version...
This is definitely not tesseract issue.

@hzy9981
Copy link

hzy9981 commented Jul 9, 2018

same question

@zdenop
Copy link
Contributor

zdenop commented Jul 9, 2018

same solution: build leptonica with tiff support.

@hzy9981
Copy link

hzy9981 commented Jul 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants