【问题标题】:Symbol lookup error while using tesseract-ocr使用 tesseract-ocr 时符号查找错误
【发布时间】:2019-07-15 07:07:01
【问题描述】:

过去两个月我一直在使用 Tesseract 4.0.0。我使用了 alexander pozdnyakov 的 ppa 来安装它。

"sudo add-apt-repository ppa:alex-p/tesseract-ocr" 

但是今天当我尝试在 tesseract 上运行任何东西时,我遇到了错误

"tesseract: symbol lookup error: tesseract: undefined symbol:_ZN9tesseract19TessLSTMBOXRendererC1EPKc ".

我提到了this link,但这并没有解决我的问题。我的操作系统是 Ubuntu 16.04。我尝试重新安装 Tesseract 4,并重新安装了依赖项,但这似乎没有帮助。甚至跑步

tesseract --version

给出同样的错误。 正方体 3 运行良好。我今天确实运行了内置软件更新程序,但我不知道会破坏什么。任何帮助将不胜感激。

【问题讨论】:

    标签: tesseract


    【解决方案1】:

    我认为您需要正确重新安装它。

    您需要先使用此 cmd 自动删除 tesseract:

    sudo apt-get autoremove tesseract-ocr
    

    现在,安装所需的软件包:

    sudo add-apt-repository ppa:alex-p/tesseract-ocr
    

    最后,安装 tesseract:

    sudo apt-get install tesseract-ocr
    

    或者在自动删除之后只需 git clone 以下链接:

    git clone https://github.com/tesseract-ocr/tesseract.git
    cd tesseract
    ./autogen.sh
    ./configure
    make
    sudo make install
    sudo ldconfig
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-27
      • 2016-05-01
      • 2011-10-11
      相关资源
      最近更新 更多