Fwd: TERMINATING: problem with native library: libopencv_java430.so

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Mon, 27 Jun 2022 17:18:01 UTC
Hello.

I'm playing a little bit with sikulix. I'm trying to learn how it works
because I want to automatize the daily tasks of my FreeBSD 13.1-RELEASE.
So,as soon as I have implemented my first "click on the image"
function,I've got the error message that you see below and I don't know how
to fix it :

*[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent
libs missing:*
*Can't load library: /root/.Sikulix/SikulixLibs/*




*libopencv_java430.so[error] Save your work, correct the problem and
restart the IDE![error] see:
https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
<https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4>TERMINATING:
problem with native library: libopencv_java430.so[error] script [
click_image ] stopped with error in line 1[error]
java.lang.**ExceptionInInitializerError
( java.lang.*



*ExceptionInInitializerError )[error] --- Traceback --- error source
firstline: module ( function ) statement 1: main (  <module> )
click("1656348124939.png")[error] --- Traceback --- end --------------*

[image: Screenshot_2022-06-27_18-42-58.jpg]

and yes,I have installed opencv and even more relevant packages on FreeBSD :

mario@marietto:/home/marietto # find / -name libopencv_java430.so

mario@marietto:/home/marietto # pkg search opencv

frei0r-plugins-opencv-1.8.0    Frei0r OpenCV plugins
gstreamer1-plugins-opencv-1.16.2_3 GStreamer opencv real time computer
vision plugin
opencv-4.5.5_7                 Open Source Computer Vision library
opencvs-20151230               BSD-licensed CVS implementation

mario@marietto:/home/marietto # pkg install opencv

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
       pkg: 1.18.1 -> 1.18.2

Number of packages to be upgraded: 1

The process will require 1 MiB more space.
8 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-1.18.2.pkg: 100%    8 MiB   8.8MB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.18.1 to 1.18.2...
[1/1] Extracting pkg-1.18.2: 100%
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

mario@marietto:/home/marietto # pkg install opencv

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

mario@marietto:/home/marietto # find / -name libopencv_java430.so

mario@marietto:/home/marietto # pkg install gstreamer1-plugins-opencv

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
       gstreamer1-plugins-opencv: 1.16.2_3

Number of packages to be installed: 1

88 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching gstreamer1-plugins-opencv-1.16.2_3.pkg: 100%   88 KiB
 90.0kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing gstreamer1-plugins-opencv-1.16.2_3...
[1/1] Extracting gstreamer1-plugins-opencv-1.16.2_3: 100%

mario@marietto:/home/marietto # pkg install frei0r-plugins-opencv

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

mario@marietto:/home/marietto # find / -name libopencv_java430.so

mario@marietto:/home/marietto # pkg install frei0r-plugins-opencv

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

-- 
Mario.