https://bugs.kde.org/show_bug.cgi?id=516203

            Bug ID: 516203
           Summary: Spectacle is not detecting libtesseracr
    Classification: Applications
           Product: Spectacle
      Version First 6.6.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
OCR do not run even if tesseract is installed 

STEPS TO REPRODUCE
1. install kde 6.6
2. install tesseract 
3. install tesseract language pack

OBSERVED RESULT
spectacle dont see the OCR lib, so OCR do not work

EXPECTED RESULT
OCR should work

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: FEDORA 43
KDE Plasma Version: KDE 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION

so I installed 
sudo dnf install tesseract tesseract-langpack-fra tesseract-langpack-eng        

then 
ldd /usr/bin/spectacle | grep tesseract                                         
        libtesseract.so.5.5 => /lib64/libtesseract.so.5.5 (0x00007fad3f400000)

so the only way to make it work is to run this command 
sudo ln -s /usr/lib64/libtesseract.so.5.5 /usr/lib64/libtesseract.so.5  
and then 
sudo ldconfig
looks like the expected tesseract lib version is hard code or something 

thnaks

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to