[Bug 1232640] New: tesseract-ocr fails to run
https://bugzilla.suse.com/show_bug.cgi?id=1232640 Bug ID: 1232640 Summary: tesseract-ocr fails to run Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: 64bit OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: jcarricksmith@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- When trying to run tesseract in openSUSE Leap 15.6 the error message:- tesseract: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory appears. Installing package libOpenCL1 package creates /usr/lib64/ocl-icd/libOpenCL.so.1 Creating a link to this in /usr/lib64/ gives me a workaround. I don't what the appropriate fix is. Many thanks John -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232640 https://bugzilla.suse.com/show_bug.cgi?id=1232640#c1 --- Comment #1 from Stefan Hundhammer <shundhammer@suse.com> --- Actually, that symlink comes with the libOpenCL1 package:
[sh @ balrog] ~ % rpm -ql libOpenCL1
/etc/alternatives/libOpenCL.so.1 /usr/lib64/libOpenCL.so.1 /usr/lib64/ocl-icd /usr/lib64/ocl-icd/libOpenCL.so.1 /usr/lib64/ocl-icd/libOpenCL.so.1.0.0 /usr/share/doc/packages/libOpenCL1 /usr/share/doc/packages/libOpenCL1/README
[sh @ balrog] ~ % ls -l /usr/lib64/ocl-icd
total 180 lrwxrwxrwx 1 root root 18 2. Aug 17:22 libOpenCL.so.1 -> libOpenCL.so.1.0.0 -rwxr-xr-x 1 root root 184224 2. Aug 17:22 libOpenCL.so.1.0.0
[sh @ balrog] ~ % sudo zypper info --requires tesseract-ocr | grep libOpenCL
libOpenCL.so.1()(64bit) libOpenCL.so.1(OPENCL_1.0)(64bit)
[sh @ balrog] ~ 14 % sudo zypper info tesseract-ocr
Information for package tesseract-ocr: -------------------------------------- Repository : Leap OSS Name : tesseract-ocr Version : 5.3.4-bp156.1.3 Arch : x86_64 Vendor : openSUSE Installed Size : 2.0 MiB Installed : No Status : not installed Source package : tesseract-ocr-5.3.4-bp156.1.3.src Upstream URL : https://github.com/tesseract-ocr/tesseract Summary : Open Source OCR Engine Description : A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005. From 2007 it is developed by Google.
If that isn't enough, you could add /usr/lib64/ocl-icd to $LD_LIBRARY_PATH: export LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib64/ocl-icd ...and put this into one of the shell startup scripts like ~/.bashrc, or in a start script for the 'tesseract' command. But that should be taken care of by the package itself. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1232640 https://bugzilla.suse.com/show_bug.cgi?id=1232640#c2 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |mimi.vx@gmail.com --- Comment #2 from Stefan Hundhammer <shundhammer@suse.com> --- % osc maintainer -e tesseract-ocr Defined in package: Publishing/tesseract-ocr bugowner of tesseract-ocr : - maintainer of tesseract-ocr : mimi.vx@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com