Open GoogleCodeExporter opened 9 years ago
Your program is linking as if the tiff library is not available.
If you ran configure to generate config_auto.h, and if your tiff library is
installed, config_auto.h should have a line that says:
#define HAVE_LIBTIFF 1
If it is 0, that would cause linking of stubs for tiff calls, as your output
demonstrates.
Look at the file configure.ac. It checks for libtiff in lines 66ff, by looking
for the function TIFFOpen().
If your tiff library is installed, perhaps it is not on your LD_LIBRARY_PATH,
which could cause it not to be found.
To find your library:
locate libtiff
On my linux box it is in:
/usr/lib/i386-linux-gnu/
Your linker should use such /usr/lib/... paths by default, without you having
to explicitly name them in LD_LIBRARY_PATH. However, if it is in
/usr/local/lib/..., you may need to have that directory on the path.
Let me know what you find out.
Original comment by dan.bloo...@gmail.com
on 18 Jul 2014 at 11:08
my linux(centos) is
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 change ~/.bash_profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib64
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
Original comment by cpus...@gmail.com
on 22 Jul 2015 at 8:42
what about the other things to check, e.g., config_auto.h?
what happens with
echo $LD_LIBRARY_PATH
?
Original comment by dan.bloo...@gmail.com
on 22 Jul 2015 at 8:19
Original issue reported on code.google.com by
nageshre...@gmail.com
on 17 Jul 2014 at 10:34