Exception in thread "main" java.lang.UnsatisfiedLinkError: liblept.so.4: Cannot load Shared-Object

129 views
Skip to first unread message

Patrick Vöhrs

unread,
Nov 12, 2014, 6:35:42 AM11/12/14
to tesser...@googlegroups.com
Hi at all,

It's my first time using Tesseract, but I get only errors.

I try it on a oracle linux 64bit system and want to use it in a java-project.

What I am doing wrong?

Best regards
Patrick

ShreeDevi Kumar

unread,
Nov 12, 2014, 7:49:30 AM11/12/14
to tesser...@googlegroups.com
You need leptonica 1.71 for the current version of tesseract.

liblept.so.4

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/be498f72-6964-497f-88b7-28994a4ad4fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ShreeDevi Kumar

unread,
Nov 12, 2014, 7:50:46 AM11/12/14
to tesser...@googlegroups.com
Have you seen http://tess4j.sourceforge.net/A Java JNA wrapper for Tesseract OCR API.

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Patrick Vöhrs

unread,
Nov 13, 2014, 5:11:11 PM11/13/14
to tesser...@googlegroups.com
Thanks for your reply, I have used Tess4J but I cannot get it working. It starts but this project is missing some librariers, I have already installed leptonica.

Patrick Vöhrs

unread,
Nov 14, 2014, 9:21:23 AM11/14/14
to tesser...@googlegroups.com
Now I get a new error:

[workspace/project]bin/libtesseract.so: Ungültiger ELF-Header

But I use a 32 Bit library on a 32-Bit JRE

What's wrong with it?




Am Mittwoch, 12. November 2014 12:35:42 UTC+1 schrieb Patrick Vöhrs:
Reply all
Reply to author
Forward
0 new messages