Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

libopencv_java343.so is missing

I try to install OpenCV on RHEL7.4 with these instructions:

mkdir /data/opencv; cd /data/opencv

git clone https://github.com/opencv/opencv.git

cd opencv

git checkout tags/3.4.3

mkdir release; cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

cd /data/opencv/opencv/release

make

make install

This seems to went succesfull but I don't see libopencv_java343.so anywhere. (neither in /usr/local/share/OpenCV nor /usr/local/lib , /usr/local/lib64)

[root@ies-dkbench-r74 release]# /usr/local/share/OpenCV/

haarcascades/ lbpcascades/ licenses/

[root@ies-dkbench-r74 release]# /usr/local/

bin/ etc/ games/ include/ lib/ lib64/ libexec/ sbin/ share/ src/

[root@ies-dkbench-r74 release]# /usr/local/lib64/ libopencv_calib3d.so libopencv_dnn.so.3.4.3 libopencv_highgui.so.3.4 libopencv_ml.so libopencv_photo.so.3.4.3 libopencv_superres.so.3.4 libopencv_videostab.so libopencv_calib3d.so.3.4 libopencv_features2d.so libopencv_highgui.so.3.4.3 libopencv_ml.so.3.4 libopencv_shape.so libopencv_superres.so.3.4.3 libopencv_videostab.so.3.4 libopencv_calib3d.so.3.4.3 libopencv_features2d.so.3.4 libopencv_imgcodecs.so libopencv_ml.so.3.4.3 libopencv_shape.so.3.4 libopencv_videoio.so libopencv_videostab.so.3.4.3 libopencv_core.so libopencv_features2d.so.3.4.3 libopencv_imgcodecs.so.3.4 libopencv_objdetect.so libopencv_shape.so.3.4.3 libopencv_videoio.so.3.4 pkgconfig/ libopencv_core.so.3.4 libopencv_flann.so libopencv_imgcodecs.so.3.4.3 libopencv_objdetect.so.3.4 libopencv_stitching.so libopencv_videoio.so.3.4.3
libopencv_core.so.3.4.3 libopencv_flann.so.3.4 libopencv_imgproc.so libopencv_objdetect.so.3.4.3 libopencv_stitching.so.3.4 libopencv_video.so
libopencv_dnn.so libopencv_flann.so.3.4.3 libopencv_imgproc.so.3.4 libopencv_photo.so libopencv_stitching.so.3.4.3 libopencv_video.so.3.4
libopencv_dnn.so.3.4 libopencv_highgui.so libopencv_imgproc.so.3.4.3 libopencv_photo.so.3.4 libopencv_superres.so libopencv_video.so.3.4.3

When it comes to java I have this:

[root@ies-dkbench-r74 release]# which java

/usr/bin/java

[root@ies-dkbench-r74 release]# java -version

openjdk version "1.8.0_161"

OpenJDK Runtime Environment (build 1.8.0_161-b14)

OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

libopencv_java343.so is missing

I try to install OpenCV on RHEL7.4 with these instructions:

mkdir /data/opencv; cd /data/opencv

git clone https://github.com/opencv/opencv.git

cd opencv

git checkout tags/3.4.3

mkdir release; cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

cd /data/opencv/opencv/release

make

make install

This seems to went succesfull but I don't see libopencv_java343.so anywhere. anywhere.

(neither in /usr/local/share/OpenCV nor /usr/local/lib , /usr/local/lib64)

[root@ies-dkbench-r74 release]# /usr/local/share/OpenCV/

haarcascades/ lbpcascades/ licenses/

[root@ies-dkbench-r74 release]# /usr/local/

bin/ etc/ games/ include/ lib/ lib64/ libexec/ sbin/ share/ src/

[root@ies-dkbench-r74 release]# /usr/local/lib64/ libopencv_calib3d.so libopencv_dnn.so.3.4.3 libopencv_highgui.so.3.4 libopencv_ml.so libopencv_photo.so.3.4.3 libopencv_superres.so.3.4 libopencv_videostab.so libopencv_calib3d.so.3.4 libopencv_features2d.so libopencv_highgui.so.3.4.3 libopencv_ml.so.3.4 libopencv_shape.so libopencv_superres.so.3.4.3 libopencv_videostab.so.3.4 libopencv_calib3d.so.3.4.3 libopencv_features2d.so.3.4 libopencv_imgcodecs.so libopencv_ml.so.3.4.3 libopencv_shape.so.3.4 libopencv_videoio.so libopencv_videostab.so.3.4.3 libopencv_core.so libopencv_features2d.so.3.4.3 libopencv_imgcodecs.so.3.4 libopencv_objdetect.so libopencv_shape.so.3.4.3 libopencv_videoio.so.3.4 pkgconfig/ libopencv_core.so.3.4 libopencv_flann.so libopencv_imgcodecs.so.3.4.3 libopencv_objdetect.so.3.4 libopencv_stitching.so libopencv_videoio.so.3.4.3
libopencv_core.so.3.4.3 libopencv_flann.so.3.4 libopencv_imgproc.so libopencv_objdetect.so.3.4.3 libopencv_stitching.so.3.4 libopencv_video.so
libopencv_dnn.so libopencv_flann.so.3.4.3 libopencv_imgproc.so.3.4 libopencv_photo.so libopencv_stitching.so.3.4.3 libopencv_video.so.3.4
libopencv_dnn.so.3.4 libopencv_highgui.so libopencv_imgproc.so.3.4.3 libopencv_photo.so.3.4 libopencv_superres.so libopencv_video.so.3.4.3

When it comes to java I have this:

[root@ies-dkbench-r74 release]# which java

/usr/bin/java

[root@ies-dkbench-r74 release]# java -version

openjdk version "1.8.0_161"

OpenJDK Runtime Environment (build 1.8.0_161-b14)

OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

libopencv_java343.so is missing

I try to install OpenCV on RHEL7.4 with these instructions:

mkdir /data/opencv; cd /data/opencv

git clone https://github.com/opencv/opencv.git

cd opencv

git checkout tags/3.4.3

mkdir release; cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

cd /data/opencv/opencv/release

make

make install

This seems to went succesfull but I don't see libopencv_java343.so anywhere.

(neither in /usr/local/share/OpenCV nor /usr/local/lib , /usr/local/lib64)

[root@ies-dkbench-r74 release]# /usr/local/share/OpenCV/

haarcascades/ lbpcascades/ licenses/

[root@ies-dkbench-r74 release]# /usr/local/lib64/ libopencv_calib3d.so libopencv_dnn.so.3.4.3 libopencv_highgui.so.3.4 libopencv_ml.so libopencv_photo.so.3.4.3 libopencv_superres.so.3.4 libopencv_videostab.so libopencv_calib3d.so.3.4 libopencv_features2d.so libopencv_highgui.so.3.4.3 libopencv_ml.so.3.4 libopencv_shape.so libopencv_superres.so.3.4.3 libopencv_videostab.so.3.4 libopencv_calib3d.so.3.4.3 libopencv_features2d.so.3.4 libopencv_imgcodecs.so libopencv_ml.so.3.4.3 libopencv_shape.so.3.4 libopencv_videoio.so libopencv_videostab.so.3.4.3 libopencv_core.so libopencv_features2d.so.3.4.3 libopencv_imgcodecs.so.3.4 libopencv_objdetect.so libopencv_shape.so.3.4.3 libopencv_videoio.so.3.4 pkgconfig/ libopencv_core.so.3.4 libopencv_flann.so libopencv_imgcodecs.so.3.4.3 libopencv_objdetect.so.3.4 libopencv_stitching.so libopencv_videoio.so.3.4.3
libopencv_core.so.3.4.3 libopencv_flann.so.3.4 libopencv_imgproc.so libopencv_objdetect.so.3.4.3 libopencv_stitching.so.3.4 libopencv_video.so
libopencv_dnn.so libopencv_flann.so.3.4.3 libopencv_imgproc.so.3.4 libopencv_photo.so libopencv_stitching.so.3.4.3 libopencv_video.so.3.4
libopencv_dnn.so.3.4 libopencv_highgui.so libopencv_imgproc.so.3.4.3 libopencv_photo.so.3.4 libopencv_superres.so libopencv_video.so.3.4.3

When it comes to java I have this:

[root@ies-dkbench-r74 release]# which java

/usr/bin/java

[root@ies-dkbench-r74 release]# java -version

openjdk version "1.8.0_161"

OpenJDK Runtime Environment (build 1.8.0_161-b14)

OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

output of "cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .."

  • OpenCV modules:

-- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python2 python_bindings_generator shape stitching superres ts video videoio videostab

-- Disabled: js world

-- Disabled by dependency: -

-- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python3 viz

-- Applications: tests perf_tests apps

-- Documentation: NO

-- Non-free algorithms: NO

--

-- GUI:

-- GTK+: YES (ver 3.22.10)

-- GThread : YES (ver 2.50.3)

-- GtkGlExt: NO

-- VTK support: NO

--

-- Media I/O:

-- ZLib: /lib64/libz.so (ver 1.2.7)

-- JPEG: /lib64/libjpeg.so (ver 62)

-- WEBP: build (ver encoder: 0x020e)

-- PNG: /lib64/libpng.so (ver 1.5.13)

-- TIFF: /lib64/libtiff.so (ver 42 / 4.0.3)

-- JPEG 2000: build (ver 1.900.1)

-- OpenEXR: build (ver 1.7.1)

-- HDR: YES

-- SUNRASTER: YES

-- PXM: YES

--

-- Video I/O:

-- DC1394: NO

-- FFMPEG: NO

-- avcodec: NO

-- avformat: NO

-- avutil: NO

-- swscale: NO

-- avresample: NO

-- GStreamer:

-- base: YES (ver 1.10.4)

-- video: YES (ver 1.10.4)

-- app: YES (ver 1.10.4)

-- riff: YES (ver 1.10.4)

-- pbutils: YES (ver 1.10.4)

-- libv4l/libv4l2: NO

-- v4l/v4l2: linux/videodev2.h

--

-- Parallel framework: pthreads

--

-- Trace: YES (with Intel ITT)

--

-- Other third-party libraries:

-- Intel IPP: 2017.0.3 [2017.0.3]

-- at: /data/opencv/opencv/release/3rdparty/ippicv/ippicv_lnx

-- Intel IPP IW: sources (2017.0.3)

-- at: /data/opencv/opencv/release/3rdparty/ippicv/ippiw_lnx

-- Lapack: NO

-- Eigen: NO

-- Custom HAL: NO

-- Protobuf: build (3.5.1)

--

-- OpenCL: YES (no extra features)

-- Include path: /data/opencv/opencv/3rdparty/include/opencl/1.2

-- Link libraries: Dynamic load

--

-- Python 2:

-- Interpreter: /usr/bin/python2.7 (ver 2.7.5)

-- Libraries: /lib64/libpython2.7.so (ver 2.7.5)

-- numpy: /usr/lib64/python2.7/site-packages/numpy/core/include (ver 1.7.1)

-- packages path: lib/python2.7/site-packages

--

-- Python (for build): /usr/bin/python2.7

--

-- Java:

-- ant: NO

-- JNI: /usr/lib/jvm/java/include /usr/lib/jvm/java/include/linux /usr/lib/jvm/java/include

-- Java wrappers: NO

-- Java tests: NO

--

-- Matlab: NO

--

-- Install to: /usr/local

libopencv_java343.so is missing

I try to install OpenCV on RHEL7.4 with these instructions:

mkdir /data/opencv; cd /data/opencv

git clone https://github.com/opencv/opencv.git

cd opencv

git checkout tags/3.4.3

mkdir release; cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

cd /data/opencv/opencv/release

make

make install

This seems to went succesfull but I don't see libopencv_java343.so anywhere.

(neither in /usr/local/share/OpenCV nor /usr/local/lib , /usr/local/lib64)

[root@ies-dkbench-r74 release]# /usr/local/share/OpenCV/

haarcascades/ lbpcascades/ licenses/

[root@ies-dkbench-r74 release]# /usr/local/lib64/ libopencv_calib3d.so libopencv_dnn.so.3.4.3 libopencv_highgui.so.3.4 libopencv_ml.so libopencv_photo.so.3.4.3 libopencv_superres.so.3.4 libopencv_videostab.so libopencv_calib3d.so.3.4 libopencv_features2d.so libopencv_highgui.so.3.4.3 libopencv_ml.so.3.4 libopencv_shape.so libopencv_superres.so.3.4.3 libopencv_videostab.so.3.4 libopencv_calib3d.so.3.4.3 libopencv_features2d.so.3.4 libopencv_imgcodecs.so libopencv_ml.so.3.4.3 libopencv_shape.so.3.4 libopencv_videoio.so libopencv_videostab.so.3.4.3 libopencv_core.so libopencv_features2d.so.3.4.3 libopencv_imgcodecs.so.3.4 libopencv_objdetect.so libopencv_shape.so.3.4.3 libopencv_videoio.so.3.4 pkgconfig/ libopencv_core.so.3.4 libopencv_flann.so libopencv_imgcodecs.so.3.4.3 libopencv_objdetect.so.3.4 libopencv_stitching.so libopencv_videoio.so.3.4.3
libopencv_core.so.3.4.3 libopencv_flann.so.3.4 libopencv_imgproc.so libopencv_objdetect.so.3.4.3 libopencv_stitching.so.3.4 libopencv_video.so
libopencv_dnn.so libopencv_flann.so.3.4.3 libopencv_imgproc.so.3.4 libopencv_photo.so libopencv_stitching.so.3.4.3 libopencv_video.so.3.4
libopencv_dnn.so.3.4 libopencv_highgui.so libopencv_imgproc.so.3.4.3 libopencv_photo.so.3.4 libopencv_superres.so libopencv_video.so.3.4.3

When it comes to java I have this:

[root@ies-dkbench-r74 release]# which java

/usr/bin/java

[root@ies-dkbench-r74 release]# java -version

openjdk version "1.8.0_161"

OpenJDK Runtime Environment (build 1.8.0_161-b14)

OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

output of "cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .."

  • OpenCV modules:

-- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python2 python_bindings_generator shape stitching superres ts video videoio videostab

-- Disabled: js world

-- Disabled by dependency: -

-- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python3 viz

-- Applications: tests perf_tests apps

-- Documentation: NO

-- Non-free algorithms: NO

--

-- GUI:

-- GTK+: YES (ver 3.22.10)

-- GThread : YES (ver 2.50.3)

-- GtkGlExt: NO

-- VTK support: NO

--

-- Media I/O:

-- ZLib: /lib64/libz.so (ver 1.2.7)

-- JPEG: /lib64/libjpeg.so (ver 62)

-- WEBP: build (ver encoder: 0x020e)

-- PNG: /lib64/libpng.so (ver 1.5.13)

-- TIFF: /lib64/libtiff.so (ver 42 / 4.0.3)

-- JPEG 2000: build (ver 1.900.1)

-- OpenEXR: build (ver 1.7.1)

-- HDR: YES

-- SUNRASTER: YES

-- PXM: YES

--

-- Video I/O:

-- DC1394: NO

-- FFMPEG: NO

-- avcodec: NO

-- avformat: NO

-- avutil: NO

-- swscale: NO

-- avresample: NO

-- GStreamer:

-- base: YES (ver 1.10.4)

-- video: YES (ver 1.10.4)

-- app: YES (ver 1.10.4)

-- riff: YES (ver 1.10.4)

-- pbutils: YES (ver 1.10.4)

-- libv4l/libv4l2: NO

-- v4l/v4l2: linux/videodev2.h

--

-- Parallel framework: pthreads

--

-- Trace: YES (with Intel ITT)

--

-- Other third-party libraries:

-- Intel IPP: 2017.0.3 [2017.0.3]

-- at: /data/opencv/opencv/release/3rdparty/ippicv/ippicv_lnx

-- Intel IPP IW: sources (2017.0.3)

-- at: /data/opencv/opencv/release/3rdparty/ippicv/ippiw_lnx

-- Lapack: NO

-- Eigen: NO

-- Custom HAL: NO

-- Protobuf: build (3.5.1)

--

-- OpenCL: YES (no extra features)

-- Include path: /data/opencv/opencv/3rdparty/include/opencl/1.2

-- Link libraries: Dynamic load

--

-- Python 2:

-- Interpreter: /usr/bin/python2.7 (ver 2.7.5)

-- Libraries: /lib64/libpython2.7.so (ver 2.7.5)

-- numpy: /usr/lib64/python2.7/site-packages/numpy/core/include (ver 1.7.1)

-- packages path: lib/python2.7/site-packages

--

-- Python (for build): /usr/bin/python2.7

--

-- Java:

-- ant: NO

-- JNI: /usr/lib/jvm/java/include /usr/lib/jvm/java/include/linux /usr/lib/jvm/java/include

-- Java wrappers: NO

-- Java tests: NO

--

-- Matlab: NO

--

-- Install to: /usr/local