Hi,
I am trying use tesseract on my app. I did link my app with:
OS: Linux (UBUNTU) gcc 4.6
tesseract
from
ls /usr/local/lib/*tesseract*
/usr/local/lib/libtesseract.a /usr/local/lib/libtesseract.so.3
/usr/local/lib/libtesseract.la /usr/local/lib/libtesseract.so.3.0.2
/usr/local/lib/libtesseract.so
lept
from
ls /usr/lib/*lept*
/usr/lib/liblept.a /usr/lib/liblept.so.3
/usr/lib/liblept.so /usr/lib/liblept.so.3.0.0
The problem is that my app fail (when I exec it) with :
doksafe_ocr_engine: symbol lookup error:
./behavior/tesseract/libocr_default_engine.so: undefined symbol:
_ZN5dsafe8behavior3ocr9tesseract2v19tesseract11TessBaseAPIC1Ev
On ldd, I can’t see tesseract!
ubuntu@ip-10-0-2-110:/hades/system/zones/sa/east/1a/3.0/release/parallel/ocr$
ldd behavior/tesseract/libocr_default_engine.so
linux-vdso.so.1 => (0x00007fff89d82000)
libboost_iostreams.so.1.50.0 =>
/3rdparty/Boost/1.50.0/lib/libboost_iostreams.so.1.50.0 (0x00007f2dad499000)
libboost_system.so.1.50.0 =>
/3rdparty/Boost/1.50.0/lib/libboost_system.so.1.50.0 (0x00007f2dad295000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f2dacf94000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2dacd7e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2dac9c1000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f2dac7b0000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x00007f2dac597000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f2dac37a000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2dac07f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2dad8eb000)
How I shoud link?
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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.