Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72573 - [python-opencv] Missing runtime dependencies for python-opencv

Attached to Project: Arch Linux
Opened by Eli Stone (natis1) - Thursday, 28 October 2021, 18:47 GMT
Last edited by Antonio Rojas (arojas) - Friday, 29 October 2021, 20:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
jsoncpp, openmpi, and pugixml are required runtime dependencies but they are only installed as buildtime dependencies

Additional info:
* Version 4.5.4-4

Steps to reproduce:

First uninstall jsoncpp, openmpi, and pugixml, then install python-opencv, then in python run

import cv2 as cv

get missing shared library error

ldd /usr/lib/python3.9/site-packages/cv2.cpython-39-x86_64-linux-gnu.so | grep 'not found'
libjsoncpp.so.24 => not found
libjsoncpp.so.24 => not found
libpugixml.so.1 => not found
libmpi.so.40 => not found
libjsoncpp.so.24 => not found
libmpi.so.40 => not found
libmpi.so.40 => not found
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 29 October 2021, 20:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-opencv 4.5.4-5
Comment by Ben (root) - Friday, 29 October 2021, 08:58 GMT
Thank you for reporting, Eli. I had the same problem and fixed it with: pacman -S --asdeps jsoncpp openmpi pugixml

Loading...