Bug 1982215 - tesseract: nothing provides liblept.so.5()(64bit) needed by tesseract-4.1.0-1.el8.x86_64
Summary: tesseract: nothing provides liblept.so.5()(64bit) needed by tesseract-4.1.0-1...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: tesseract
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-14 12:53 UTC by cparg
Modified: 2026-01-26 09:25 UTC (History)
4 users (show)

Fixed In Version: tesseract-4.1.0-2.el8
Clone Of:
Environment:
Last Closed: 2021-07-30 00:33:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description cparg 2021-07-14 12:53:29 UTC
Description of problem:
When I try to install tesseract I get :
nothing provides liblept.so.5()(64bit) needed by tesseract-4.1.0-1.el8.x86_64

Version-Release number of selected component (if applicable):

cparg@crusty : $ dnf repolist
Paketquellen-ID                                                                               Paketquellen-Name:
appstream               CentOS Linux 8 - AppStream
baseos                  CentOS Linux 8 - BaseOS
epel                    Extra Packages for Enterprise Linux 8 - x86_64
epel-modular            Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                  CentOS Linux 8 - Extras
google-chrome           google-chrome
teams                   teams

cparg@crusty : $ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 8.4.2105
Release:        8.4.2105
Codename:       n/a

How reproducible:


Steps to Reproduce:
1. dnf install tesseract
2.
3.

Actual results:

$ dnf install tesseract

Letzte Prüfung auf abgelaufene Metadaten: vor 0:52:21 am Mi 14 Jul 2021 13:58:31 CEST.
Fehler: 
 Problem: conflicting requests
  - nothing provides liblept.so.5()(64bit) needed by tesseract-4.1.0-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:


Additional info:
I was not able to figure out the package maintainer, hence I filed this bug report here.

Comment 1 cparg 2021-07-14 12:59:45 UTC
Looks like this package should be retrieved from the "PowerTools" Repository.
I was under the impression that epel depends only on the OS base repository.

Comment 2 Fedora Update System 2021-07-14 13:28:34 UTC
FEDORA-EPEL-2021-d8b65a55a2 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-d8b65a55a2

Comment 3 Sandro Mani 2021-07-14 13:29:07 UTC
I've fired off a rebuild, check if it helps.

Comment 4 Fedora Update System 2021-07-15 01:13:06 UTC
FEDORA-EPEL-2021-d8b65a55a2 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-d8b65a55a2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 cparg 2021-07-25 08:14:01 UTC
Thanks for the re-build. However, as I stated earlier the problem was resolved adding the PowerTools repository. I didn't know that EPEL has dependencies on that repo.

Comment 6 Fedora Update System 2021-07-30 00:33:12 UTC
FEDORA-EPEL-2021-d8b65a55a2 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Gloria24 2024-11-09 08:24:32 UTC
The problem with installing Tesseract due to the missing liblept.so.5 library is clear, and the guide provides solid information. To resolve this issue, the most likely solutions are manually installing the Leptonica library or finding an alternative source for the required package.

Comment 8 MarlinDermott 2024-12-13 03:25:05 UTC Comment hidden (spam)
Comment 9 cparg 2024-12-15 12:54:35 UTC
tesseract is a OCR (Optical Character Recognition) program. It converts graphics to text.
https://en.wikipedia.org/wiki/Tesseract_(software)

Comment 10 Madinem 2025-06-02 06:39:31 UTC Comment hidden (spam)
Comment 11 George Shepherd 2025-12-12 08:59:07 UTC
Hi,

It looks like your tesseract installation is failing because it depends on liblept.so.5, which is provided by leptonica. On CentOS 8, the version in EPEL might be newer and provide liblept.so.7 instead, which causes this dependency issue.

Here are a few approaches you could try:

Install leptonica from EPEL manually:

sudo dnf install epel-release
sudo dnf install leptonica


Then try installing tesseract again.

Use the --nobest flag to allow DNF to pick a compatible version:

sudo dnf install tesseract --nobest


Build from source if compatible binaries aren’t available:

Download Tesseract 4.1 source from GitHub.

Install leptonica from source or the version compatible with tesseract 4.1.

Compile and install.

Use a container or Flatpak/Snap as an alternative: Tesseract is available via Flatpak which avoids system library conflicts.

CentOS 8 has some quirks with package versions in EPEL, so often building from source or using containers is the easiest way to get the right dependencies.

I’ve successfully done this by building Tesseract 4.1 with leptonica 1.78 on CentOS 8 — it works fine once the correct libraries are in place.
https://brainrot-clicker.io

Comment 12 freddyalexander3366 2026-01-26 09:25:39 UTC
This issue was resolved by enabling the PowerTools repository or installing the Leptonica library manually to provide `liblept.so.5`. https://snaptroids.download/


Note You need to log in before you can comment on or make changes to this bug.