kimnamho / python-tesseract

Automatically exported from code.google.com/p/python-tesseract
0 stars 0 forks source link

import tesseract fails with '_tesseract.so: undefined symbol: pixDestroy' #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install tesseract and python-tesseract from source (static build)
2. start python interpeter
3. import tesseract

What is the expected output? What do you see instead?
expected: the import of (python-)tesseract

instead:
Traceback (most recent call last):
  File "./tesseract-tst.py", line 5, in <module>
    import tesseract
  File "/usr/local/lib/python2.7/dist-packages/tesseract.py", line 25, in <module>
    _tesseract = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/tesseract.py", line 21, in swig_import_helper
    _mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: /usr/local/lib/python2.7/dist-packages/_tesseract.so: undefined 
symbol: pixDestroy

What version of the product are you using? On what operating system?
svn builds (tesseract an python-tesseract)
Ubuntu 11.04

Please provide any additional information below.
thesseract did not build proppperly. 
I made libtesseract_la_OBJECTS empty.
Tesseract did compile now. And it seems to work. (it fixed issue 5)

Original issue reported on code.google.com by wunderli...@gmail.com on 13 Sep 2011 at 1:22

GoogleCodeExporter commented 9 years ago
Have compiled both i386 and amd64 version. Detail pls refer to the link below
http://code.google.com/p/python-tesseract/wiki/HowToInstallPythonTesseractDeb

Original comment by FreeT...@gmail.com on 14 Sep 2011 at 4:22

GoogleCodeExporter commented 9 years ago
Tesseract-ocr is now included in the download list
http://code.google.com/p/python-tesseract/downloads/list

Original comment by FreeT...@gmail.com on 14 Sep 2011 at 4:23

GoogleCodeExporter commented 9 years ago
That worked.

thanx

Original comment by wunderli...@gmail.com on 14 Sep 2011 at 7:02