bernardorufino / python-tesseract

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

..._tesseract.so: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
System setup:
Ubuntu 14.04 64 bit
python 2.7.6
Tesseract OCR 3.03 Rev 1116 (built from source because I needed the training 
utils)
python-tesseract rev 651 (also built from source)

When trying to import tesseract, I get the following error:

>>> import tesseract
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/.local/lib/python2.7/site-packages/python_tesseract-0.9-py2.7-linux-x86_64.egg/tesseract.py", line 28, in <module>
    _tesseract = swig_import_helper()
  File "/home/ubuntu/.local/lib/python2.7/site-packages/python_tesseract-0.9-py2.7-linux-x86_64.egg/tesseract.py", line 24, in swig_import_helper
    _mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: 
/home/ubuntu/.local/lib/python2.7/site-packages/python_tesseract-0.9-py2.7-linux
-x86_64.egg/_tesseract.so: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev

Original issue reported on code.google.com by v.v.kha...@gmail.com on 17 Jun 2014 at 3:55

GoogleCodeExporter commented 8 years ago
try removing all the lines containing "capi" in tesseract.i  

it may work

Original comment by FreeT...@gmail.com on 18 Jun 2014 at 3:56

GoogleCodeExporter commented 8 years ago
There's still same problem on ubuntu 14.04

Original comment by carca...@carcabot.ro on 1 Oct 2014 at 9:01

GoogleCodeExporter commented 8 years ago
can u send me an ssh account through my email of course so that I could look 
into your problems

Original comment by FreeT...@gmail.com on 3 Oct 2014 at 3:59

GoogleCodeExporter commented 8 years ago
I also had this error using:
python-tesseract_0.9-0.4ubuntu0_amd64.deb
python-tesseract_0.9-0.5ubuntu3_trusty_amd64.deb
python-tesseract_0.9-0.5ubuntu_trusty_amd64.deb

with tesseract-ocr 3.03 on Ubuntu 14.04 (64 bit). It does not occur when 
rolling back to:
python-tesseract_0.8-3.0_amd64.deb

Original comment by csme...@gmail.com on 20 May 2015 at 1:15