FS#67980 - OpenCV is missing java symlinks

Attached to Project: Arch Linux
Opened by Martin Rys (C0rn3j) - Thursday, 24 September 2020, 10:11 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 10 October 2020, 12:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


/usr/lib/libopencv_java.so should be a symlink to /usr/lib/libopencv_java440.so

/usr/share/java/opencv.jar should probably be a symlink to /usr/share/java/opencv4/opencv-440.jar

At the moment, neither exists, and apps like SikuliX(aur/sikulixide-bin) seem to expect them.

It looks like AUR/opencv-java creates both of these symlinks, so they probably really should be there.

From what I gather OpenCV did not have java bundled before but does as of a recent version.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 10 October 2020, 12:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  opencv 4.4.0-3
Comment by Antonio Rojas (arojas) - Saturday, 03 October 2020, 11:25 GMT
I disagree with the "should" statements given that the reason is that some binary blobs expect them. But Debian and Fedore ship them, so oh well...
Comment by Alex (alex_f) - Saturday, 10 October 2020, 11:22 GMT
  • Field changed: Percent Complete (100% → 0%)
The PKGBUILD adds the build path to the symlinks...

/usr/lib/libopencv_java.so: broken symbolic link to /build/opencv/pkg/opencv/usr/lib/libopencv_java440.so