Bug 516203 - Spectacle is not detecting libtesseracr
Summary: Spectacle is not detecting libtesseracr
Status: RESOLVED DUPLICATE of bug 516162
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.6.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-18 13:06 UTC by freddum
Modified: 2026-02-18 13:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freddum 2026-02-18 13:06:26 UTC
***
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
Comment 1 Antonio Rojas 2026-02-18 13:16:20 UTC

*** This bug has been marked as a duplicate of bug 516162 ***