Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Why does mpv depend on tesseract?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
leyvi
l33t
l33t
Posts: 719
Joined: Fri Sep 08, 2023 1:22 pm

Why does mpv depend on tesseract?

  • Quote

Post by leyvi » Sun Mar 01, 2026 1:25 pm

mpv is failing to build, with this error:

Code: Select all

/var/tmp/portage/media-video/mpv-0.41.0/work/mpv-0.41.0-build/mpv: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_for_static_init_8u
tesseract doesn't appear in the dependency graph though...
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Mar 01, 2026 2:00 pm

It doesn't, its dependencies can though, e.g. ffmpeg with USE=ocr would be linked with libtesseract.

Full build.log? Do you have old libraries that you installed yourself in /usr/local? May be incompatible and break things when it tries to use it.

Edit: If not, rebuilding ffmpeg may help -- albeit not aware of libtesseract recently breaking ABI, unsure what may have happened -- either way the issue is not with mpv itself.
Top
Ionen
Developer
Developer
User avatar
Posts: 3014
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Mar 01, 2026 2:11 pm

Oh, actually I think that symbol is related to clang openmp?

There may have been some nonsense if you built tesseract with USE=openmp and with clang that broke probably after updating llvm-runtimes/openmp, think need to rebuild tesseract rather than ffmpeg.

Edit: looks like https://bugs.gentoo.org/970767 was filed, will continue there.
Top
leyvi
l33t
l33t
Posts: 719
Joined: Fri Sep 08, 2023 1:22 pm

  • Quote

Post by leyvi » Sun Mar 01, 2026 2:26 pm

Ionen wrote:It doesn't, its dependencies can though, e.g. ffmpeg with USE=ocr would be linked with libtesseract.

Full build.log? Do you have old libraries that you installed yourself in /usr/local? May be incompatible and break things when it tries to use it.

Edit: If not, rebuilding ffmpeg may help -- albeit not aware of libtesseract recently breaking ABI, unsure what may have happened -- either way the issue is not with mpv itself.
I haven't installed any libraries myself, only through portage.

Rebuilding ffmpeg did not help.

Trying tesseract now.

(I would send the build logs, but my pastebin is offline.)
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic