I am using opencv in my java app.
I was able to build opencv native libs using -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_opencv_java=ON
but it ended up generating .dylibs on my mac. That works great locally but doesn't work in production. The prod system is looking for a .so
instead
I tried turning shared libs off -DBUILD_SHARED_LIBS=OFF
but that doesn't seem to generate a .so
Renaming .dylib to .so doesn't work.
Anyone know how I can generate a .so instead? Would using docker linux image to build opencv instead of my mac generate .so
instead?