[Slackbuilds-users] Tesseract
Logan Rathbone
poprocks at gmail.com
Sat Nov 9 18:57:48 UTC 2019
On Sat, Nov 09, 2019 at 09:22:19AM -0500, John Yost wrote:
> getting following error:
> libtool: link: ranlib .libs/libtesseract_api.a
> libtool: link: ( cd ".libs" && rm -f "libtesseract_api.la" && ln -s
> "../libtesseract_api.la" "libtesseract_api.la" )
> /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -std=c++17
> -llept -larchive -version-info 4:1 -o libtesseract.la -rpath
> /usr/lib64 libtesseract_api.la ../ccmain/libtesseract_main.la
> ../textord/libtesseract_textord.la ../wordrec/libtesseract_wordrec.la
> ../classify/libtesseract_classify.la ../dict/libtesseract_dict.la
> ../arch/libtesseract_arch.la ../arch/libtesseract_native.la
> ../lstm/libtesseract_lstm.la ../ccstruct/libtesseract_ccstruct.la
> ../cutil/libtesseract_cutil.la ../viewer/libtesseract_viewer.la
> ../ccutil/libtesseract_ccutil.la ../opencl/libtesseract_opencl.la
> ../arch/libtesseract_avx.la ../arch/libtesseract_avx2.la
> ../arch/libtesseract_sse.la -lpthread
> /usr/bin/grep: /usr/lib64/liblzma.la: No such file or directory
> /usr/bin/sed: can't read /usr/lib64/liblzma.la: No such file or directory
> libtool: error: '/usr/lib64/liblzma.la' is not a valid libtool archive
> Makefile:536: recipe for target 'libtesseract.la' failed
> make[2]: *** [libtesseract.la] Error 1
> make[2]: Leaving directory '/tmp/SBo/tesseract-4.1.0/src/api'
> Makefile:498: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/SBo/tesseract-4.1.0'
> Makefile:407: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> any help is appreciated
Works for me under -current and 14.2 (clean buildroot).
If liblzma.la is not present on your system (it should be there on a
clean 14.2 system) I'm assuming you're on -current. Sounds like you may
have a broken chain of libtool archives (.la files). See the Slackware
Current ChangeLog entry from April 19, 2018.
More information about the SlackBuilds-users
mailing list