[Bug 294034] graphics/tesseract: Fix ld-elf.so.1: /usr/local/lib/libtesseract.so.5: Undefined symbol "__kmpc_global_thread_num"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Mar 2026 23:11:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294034

            Bug ID: 294034
           Summary: graphics/tesseract: Fix ld-elf.so.1:
                    /usr/local/lib/libtesseract.so.5: Undefined symbol
                    "__kmpc_global_thread_num"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj@FreeBSD.org
          Reporter: dtxdf@freebsd.org
                CC: pkubaj@FreeBSD.org, yuri@freebsd.org
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)
          Assignee: pkubaj@FreeBSD.org
 Attachment #269091 maintainer-approval?(pkubaj@FreeBSD.org)
             Flags:
                CC: pkubaj@FreeBSD.org

Created attachment 269091
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269091&action=edit
tesseract.diff

When deskutils/readur tries to process a PDF with tesseract, an error occurs
with the message `ld-elf.so.1: /usr/local/lib/libtesseract.so.5: Undefined
symbol "__kmpc_global_thread_num"`. I found an old bug [1] that produces
exactly the same message, but it seems the fix has been removed.

* uname -K: 1500506

[1] Bug 266776

-- 
You are receiving this mail because:
You are the assignee for the bug.