[Bug 265252] libtesseract missing -lomp in LDFLAGS
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265252] libtesseract missing -lomp in LDFLAGS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265252] libtesseract missing -lomp in LDFLAGS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265252] graphics/tesseract: missing -lomp in LDFLAGS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265252] graphics/tesseract: missing -lomp in LDFLAGS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 265252] graphics/tesseract: missing -lomp in LDFLAGS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Jul 2022 15:13:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265252
Bug ID: 265252
Summary: libtesseract missing -lomp in LDFLAGS
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: fbsd@ettinsmoor.net
Attempting to use libtesseract from ports (and packages) yields the following
error:
ld-elf.so.1: /usr/local/lib/libtesseract.so.5: Undefined symbol
"__kmpc_global_thread_num"
__kmpc_global_thread_num appears to be exported by openmp.
Checking /usr/local/lib/libtesseract.so.5 with ldd revealed that openmp was
indeed missing.
It's possible that some CMake magic is supposed to be inserting this flag
somewhere, but I was able to solve my problem by adding -lomp to the LDFLAGS
variable in the port's Makefile.
--
You are receiving this mail because:
You are the assignee for the bug.