tesseract: symbol lookup error: tesseract: undefined symbol: archive_version_details

47 views
Skip to first unread message

Varun Gagneja

unread,
Oct 6, 2019, 6:15:40 AM10/6/19
to tesseract-ocr
Hi,

I am trying to setup tesseract in Docker on ubuntu 16 by following method given in tesseract-ocr-re.

Below is how my docker file looks like

FROM ubuntu:16.04
RUN apt-get update && apt-get upgrade -y && apt-get install -y software-properties-common && add-apt-repository -y ppa:alex-p/tesseract-ocr
RUN apt-get update && apt-get install -y tesseract-ocr-all

I'm not getting any error while making the docker image. But when I am trying to run tesseract from the shell of my container I am getting this weird error.

root@760677a9c7c4:/# tesseract 
tesseract: symbol lookup error: tesseract: undefined symbol: archive_version_details

I also tried to manually install some of the packages like -

apt-get install g++ autoconf automake libtool pkg-config libpng-dev

But still getting the same error. Any help would be much appreciated.

Thanks

This mail contains confidential information intended only for the individual(s) named. If you’re not the named addressee, don’t disseminate, distribute or copy this e-mail. Please notify the sender immediately and delete it from your system.If you wish not to receive such e-mails you may reply with text “Unsubscribe”.

Varun Gagneja

unread,
Oct 6, 2019, 10:58:20 AM10/6/19
to tesseract-ocr
Installing libarchive-dev resolved the issue.

Александр Поздняков

unread,
Oct 6, 2019, 12:21:27 PM10/6/19
to tesseract-ocr
hi. 
I disabled backports dependency in ppa:alex-p/tesseract-ocr

Everything is working:

root@8822aa1326c5:/home/work# tesseract -v
tesseract 4.1.0
leptonica-1.78.0
 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.3.0
Found AVX
Found SSE
Found libarchive 3.1.2


воскресенье, 6 октября 2019 г., 13:15:40 UTC+3 пользователь Varun Gagneja написал:
Reply all
Reply to author
Forward
0 new messages