libImageProcessing.so: undefined symbol: ippicviXYZToRGB_8u_C3R

asked 2017-08-16 11:13:53 -0600

Akram gravatar image

Hi all,

we are using opencv 3.3 to build a library called libImageProcessing developed by another team and that is supposed to be used by Java application server as a native call. Build works smoothly, but we are facing the following error at runtime:

UnsatisfiedLinkError: /path/to/lib/libImageProcessing.so: /path/to/lib/libImageProcessing.so: undefined symbol: ippicviXYZToRGB_8u_C3R

I checked many params and I am not familiar anymore with C/C++ builds, but it looks to me as if the lib is trying to use a different lib version of IPP as the one used by OpenCV. However, we are doing the build within the same Linux container, and the same version of IPP.

We use static linkage for OpenCV to IPP (the standard) and I am not really sure if the lib I am trying to compile requires the static lib or the .so . At least at compile time, it does not complain.

I also tried to build OpenCV with -DWITH_IPP=OFF, but it has no effect on my lib.

Any idea?

edit retag flag offensive close merge delete