[Slackbuilds-users] Updates - 20181215.1 (opencv)

Frédéric Falsetti falsetti at clansco.org
Sun Dec 16 16:51:23 UTC 2018

On Sun, 16 Dec 2018 07:16:27 +1000
Christoph Willing <chris.willing at linux.com> wrote:

> On 15/12/18 11:56 pm, Willy Sudiarto Raharjo wrote:
> > libraries/opencv: Updated for version 4.0.0
> >
> I'm sorry but there's a mistake in this update to opencv-4.0.0. I've
> pushed a correction but in the meantime it can be fixed by changing the
> line:
>     if [ -d /usr/etc/qt5 ]; then
> to
>     if [ -d /usr/include/qt5 ]; then
> chris
ffmpeg does not compile with opencv 4.0.0

ffmpeg -pattern_type glob -r 3 -i "*.JPG" -vf  "crop=256:170:0:0"  -c:v libx264 -pix_fmt yuv420p mf2aou14th.mp4
ffmpeg: error while loading shared libraries: libopencv_imgproc.so.3.4: cannot open shared object file: No such file or directory

trying to rebuild ffmpeg I get:
patching file configure
patching file libavcodec/libopenjpegdec.c
patching file libavcodec/libopenjpegenc.c
ERROR: opencv not found using pkg-config

ln -s libopencv_imgproc.so.4.0.0 libopencv_imgproc.so.3.4
ln -s libopencv_core.so.4.0.0 libopencv_core.so.3.4
and voila

More information about the SlackBuilds-users mailing list