libopencv_java249.so requires libopencv_java245.so also? [closed]

asked 2015-05-03 01:49:56 -0600

bunty gravatar image

updated 2015-05-03 02:02:32 -0600

berak gravatar image

I am trying to deploy an opencv java application with opencv 2.49, I have build the libopencv_java249.so and opencv-249.jar in the Ubuntu server and these are available in the class path when the application starts.

But it's throwing a exception saying libopencv_java245 no found, so initially I was under a impression that it's referring to a wrong opencv version. so to verify this I have removed the libopencv_java249.so from class path and then it was complaining that libopencv_java249 not available.

As an additional testing I also renamed libopencv_java249.so to libopencv_java245.so then it was saying again that opencv_java249 not found.

With this I guess we can confirm that it looks for the right version of opencv (that is libopencv_java249) but in addition to that it aslo requires libopencv_java245 also. Is my assumption is correct, it would be really helpful if someone can guide me.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-06 12:16:33.672992

Comments

1

no, this should not happen.

any chance, you had an older installation around, and now it's confused, what to take ?

berak gravatar imageberak ( 2015-05-03 04:13:24 -0600 )edit

No older installations found, also there is no direct reference to opencv specific versions in the application code....

bunty gravatar imagebunty ( 2015-05-03 13:12:17 -0600 )edit

Found an additional error together with java.lang.UnsatisfiedLinkError: no opencv_java245 in java.library.path

libdc1394 error: Failed to initialize libdc1394

bunty gravatar imagebunty ( 2015-05-03 13:34:07 -0600 )edit

I could resolve ibdc1394 error: Failed to initialize libdc1394.

But wrong opencv version issue continued , seems it's due to another library we use specifically looks for opencv opencv_java245 , willl do some more research and update the thread

bunty gravatar imagebunty ( 2015-05-03 13:48:52 -0600 )edit

I could confirm this is due to a another library which looks for opencv_java245.... This question can be closed.

bunty gravatar imagebunty ( 2015-05-03 14:14:05 -0600 )edit