Summary: | app-text/tesseract-5.3.3[openmp] - lld: Error relocating /usr/lib/libtesseract.so.5: omp_get_thread_num: symbol not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | chutzpah |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731004 | ||
Attachments: |
build.log
emerge --info |
Created attachment 873012 [details]
emerge --info
|
Created attachment 873011 [details] build.log tesseract-5.3.x[openmp] can be built on a musl-clang-16 system but the binary won't work: $ tesseract Error relocating /usr/lib/libtesseract.so.5: __kmpc_global_thread_num: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_push_num_threads: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_fork_call: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_8u: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_fini: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_4: symbol not found Error relocating /usr/lib/libtesseract.so.5: omp_get_thread_num: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_serialized_parallel: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_end_serialized_parallel: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_4u: symbol not found When linked with LDFLAGS="-fuse-ld=bfd -Wl,-O1 -Wl,--as-needed" or built with USE='-openmp' the binary works just fine.