https://bugs.kde.org/show_bug.cgi?id=439611
Bug ID: 439611 Summary: libkdcraw should propagate the ${LIBS} from libraw.pc Product: libkdcraw Version: unspecified Platform: Compiled Sources OS: Linux Status: REPORTED Severity: critical Priority: NOR Component: General Assignee: imaging-bugs-n...@kde.org Reporter: rjvber...@gmail.com Target Milestone: --- SUMMARY libraw can be built with OpenMP support, which, at least when building with Clang, adds a dependency to a corresponding shared library. As a result, my libraw.pc (for v0.20.2) has ``` Libs: -L${libdir} -lraw -fopenmp ``` STEPS TO REPRODUCE 1. build and install libraw with OpenMP support (`configure [...] --enable-openmp [...]`) 2. build and install libkdcraw 3. try to build a dependent like gwenview OBSERVED RESULT The build will fail with the error message that libraw.so.20 has an undefined reference to a range of __kmpc_XXX symbols. EXPECTED RESULT No build failure. Adding `-fopenmp` to the linker flags fixes the issue. ADDITIONAL INFORMATION I've observed this on Linux but I presume it will be the case on any Unix version where private dependencies of shared libraries aren't pulled in automatically and/or where libraw itself isn't linked to the openmp library (= all Unices except Darwin?). -- You are receiving this mail because: You are watching all bug changes.