[Slackbuilds-users] pytesseract

Judah Milgram milgram at cgpp.com
Sun Nov 10 20:38:00 UTC 2019



Thanks for upgrading the slackbuild to tesseract 4!

Related thought: sure would be nice to have pytesseract. Is it already 
part of an existing slackbuild?

If not, I'd be happy to take a stab at it.



On 11/9/19 1:57 PM, Logan Rathbone wrote:
> 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.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
> 


-- 
Judah Milgram
milgram at cgpp.com
301-257-7069


More information about the SlackBuilds-users mailing list