Maybe is a bit too late for a reply, 
but in case you did'nt solve your problem (and in case someone else is 
looking for a solution) try this:

after installing leptonica:


   - make sure you ran "sudo ldconfig" after your "sudo make install"
   

   - check which is the last Leptonica headers directory that has been 
   created and assure that contains allheaders.h 

ls -l $(find /usr/ -name allheaders.h|grep leptonica)

   - find the library symlink which points to the installed version of 
   leptonica (there can be more than one, in different path, especially if you 
   previously installed one of the libleptonica package)

ls -l $(find /usr/ -name liblept.so)

   - Configure  and install tesseract specifying the correct leptonica 
   headers and library directory:

./autogen.sh
CPPFLAGS="-I*HEADER_DIR***" LDFLAGS="-L*LIB_DIR*" ./configure 
(for example CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" 
./configure)
sudo make install
sudo ldconfig

mik

On Friday, 21 September 2012 22:08:51 UTC+1, Osman Masood wrote:
>
> Hello everyone,
> I'm trying to install leptonica 1.69 and Tesseract v3.01 using the exact 
> instructions found in their respective README files. Leptonica installs 
> without a problem; however, whenever I try to run ./configure (even after 
> running ./autogen.sh) it says: *configure: error: leptonica library 
> missing*. 
> These are the commands I'm using to install each, which are exactly in 
> accordance with the README/INSTALL files:
>
> For leptonica 1.69:
> ./configure
> make
> sudo make install
>
> For Tesseract 3.01:
> ./autogen.sh
> ./configure
> * > configure: error: leptonica library missing*.
>
> I'm really confused, can one of you gurus help me out?
> Much thanks!
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to