For snappy, the error is: Undefined symbols for architecture x86_64:
"std::__1::__libcpp_verbose_abort(char const*, ...)", referenced from: std::__throw_bad_array_new_length[abi:un170006]() in snappy.cc.o std::__1::__throw_length_error[abi:un170006](char const*) in snappy.cc.o ld: symbol(s) not found for architecture x86_64 Le jeudi 25 janvier 2024 à 17:29:54 UTC+1, Benoît Mars a écrit : > Thanks for your help! Unfortunately, it's now with the snappy dependency > that the build fails… it seems that this version of macOS is now really > obsolete… Sad because the hardware still works like clockwork! > > Le mardi 23 janvier 2024 à 19:08:11 UTC+1, tfmo...@gmail.com a écrit : > >> >> Anyway requesting tesseract as decendacy of ffmpeg makes no sense for me >> (and it is not listed at >> https://trac.ffmpeg.org/wiki/CompilationGuide/macOS). So >> something in homebrew should be fixed/setup correctly. >> >> >> I did a little investigation and discovered that this is principally a >> Homebrew issue where: >> >> - tesseract is a non-optional dependency of ffmpeg [1][2] (and the >> default tap doesn't allow configuration options) >> - the homebrew recipe for tesseract always does a `make training` [3] >> >> It looks like your options, if you want to stick with a Homebrew install >> of ffmpeg are: >> >> - use the alternate Homebrew tap and don't specify --with--tesseract [4] >> brew tap homebrew-ffmpeg/ffmpeg >> brew install homebrew-ffmpeg/ffmpeg/ffmpeg >> >> - use FFMPEG 2.8 which doesn't have the tesseract dependency [5] >> >> Hope that helps! >> >> Tom >> >> [1] https://formulae.brew.sh/formula/ffmpeg#default >> [2] >> https://github.com/Homebrew/homebrew-core/blob/000e5225e1c0db87622f89e61140637ef8e7a8d5/Formula/f/ffmpeg.rb#L59 >> [3] >> https://github.com/Homebrew/homebrew-core/blob/000e5225e1c0db87622f89e61140637ef8e7a8d5/Formula/t/tesseract.rb#L68 >> [4] https://trac.ffmpeg.org/wiki/CompilationGuide/macOS#Additionaloptions >> [5] https://formulae.brew.sh/formula/ffmpeg@2.8 >> >> > -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/cf607337-3b8d-4692-9939-b8f81f830a62n%40googlegroups.com.