-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
tesseract 3.04.01 looks for liblept-4.dll #258
Comments
This is not tesseract problem, but problem how you maintain your system. Compiling from source requires you are familiar with your system. |
Did you recompile (./configure, make, sudo make install, sudo ldconfig) tesseract after you recompiled leptonica 1.73? |
Yes, I had used a PKGBUILD similar to the following, without the prepare Maintainer: Alexey Pavlov alexpux@gmail.comMaintainer: Ray Donnelly mingw.android@gmail.com_realname=tesseract-ocr source=(${_realname}-${pkgver}.tar.gz:: https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata ) '9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff') options=('!libtool' 'strip') prepare() { build() { local -a extra_config ../tesseract-${pkgver}/configure make package() { mkdir -p ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Wed, Mar 9, 2016 at 12:26 AM, Amit Dovev notifications@github.com
|
rebuilding tesseract does not help unless leptonica instalation is not fixed within msys... |
I have built Leptonica 1.73 on msys2 locally. It is not yet reflected in ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Wed, Mar 9, 2016 at 1:05 PM, zdenop notifications@github.com wrote:
|
Do you have liblept.dll? |
No liblept.dll. I have liblept.a and liblept.dll.a in lib directory and liblept-5.dll in ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Thu, Mar 10, 2016 at 6:57 PM, Amit Dovev notifications@github.com
|
As zdenko said, something is wrong with your leptonica installation. Here are the files in my linux system: /usr/local/lib/liblept.a |
Real problem is that he has several installation of leptonica but msys instruct linker to use older leptonica version (which could be reasonable if older version was installed by msys packagin system and new version "by hand") . There are several ways how to solve it:
|
Shree, Here are the commands I ran on Linux:
Did you run |
Amit & Zdenko. Yes, the problem on msys2 maybe because I am trying to use the PKGBUILD I was able to build and run 1.73 leptonica and the latest source of Thanks! ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Mar 11, 2016 at 5:41 PM, zdenop notifications@github.com wrote:
|
I did not run I used the following commands: ./autogen.sh ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Fri, Mar 11, 2016 at 7:41 PM, Amit Dovev notifications@github.com
|
Shree, About your You need to run
Here However,
because |
Thanks, please change the wiki. ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Sun, Mar 13, 2016 at 8:24 PM, Amit Dovev notifications@github.com
|
I am building tesseract on msys2 on windows. I am using the latest version of leptonica (1.73) which generates liblept-5.dll However, when I run tesseract 3.04.01 it gives the following error.
User@HP MINGW32 ~/tesseract-ocr
$ tesseract -v
C:/msys32/mingw32/bin/tesseract.exe: error while loading shared libraries: liblept-4.dll: cannot open shared object file: No such file or directory
I copied liblept-5.dll as liblept4.dll and was able to run the program - see below.
User@HP MINGW32 ~/tesseract-ocr
$ tesseract -v
tesseract 3.04.01
leptonica-1.73
libgif 5.1.2 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.6.21 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.5.0
Wiki states:
* 3.04 requires at least v1.71 of Leptonica.*
Is 3.04.01 compatible with leptonica 1.73?
The text was updated successfully, but these errors were encountered: