requires also?

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

bunty gravatar image

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

berak gravatar image

I am trying to deploy an opencv java application with opencv 2.49, I have build the 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 from class path and then it was complaining that libopencv_java249 not available.

As an additional testing I also renamed to 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 close merge delete



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 -0500 )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 -0500 )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 -0500 )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 -0500 )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 -0500 )edit