[Slackbuilds-users] ffmpeg does not build against libwebp (SOLVED)

Chris Abela kristofru at gmail.com
Thu Nov 2 12:33:25 UTC 2017


Both tesseract and leptonica (required by tesseract) picked libwebp as a 
dependency.

I removed libwebp, rebuilt leptonica and tesseract, reinstalled libwebp 
and now ffmpeg is building fine.

Thanks to Arnaud for his hint.

Chris

On 02/11/17 08:59, Chris Abela wrote:
> ffmpeg builds fine against libwebp-0.5.2, but fails when built against 
> libwebp-0.6.0:
>
> ffmpeg-3.2.4/tests/tiny_psnr.c
> ffmpeg-3.2.4/ffserver.c
> ffmpeg-3.2.4/ffmpeg.h
> ffmpeg-3.2.4/ffmpeg_dxva2.c
> ffmpeg-3.2.4/cmdutils_opencl.c
> ffmpeg-3.2.4/COPYING.LGPLv2.1
> ffmpeg-3.2.4/ffmpeg_vaapi.c
> ffmpeg-3.2.4/README.md
> ffmpeg-3.2.4/CONTRIBUTING.md
> patching file configure
> patching file libavcodec/libopenjpegdec.c
> patching file libavcodec/libopenjpegenc.c
> ERROR: tesseract not found using pkg-config
>
> All the other dependencies are installed and updated, including 
> tesseract.
>
> This is my sbopkg queue file:
>
> $ cat ffmpeg.sqf
> #ffmpeg
> @libass
> @libbluray
> @libbs2.
> @celt
> @libdc1394
> @libebur128
> @libfdk-aac
> @flite
> @frei0r
> @libgme
> @gsm
> @libiec61883
> @libavc1394
> @libilbc
> @ladspa_sdk
> @lame
> @libmodplug
> @netcdf
> @OpenAL
> @opencore-amr
> @opus
> @rtmpdump
> @rubberband
> @schroedinger
> @snappy
> @speex
> @tesseract
> @twolame
> @vid.stab
> @libwebp
> @x264
> @x265
> @xvidcore
> @zeromq
> @zvbi
> @jack-audio-connection-kit
> @SDL2
> ffmpeg | ASS=yes BLURAY=yes BS2B=yes CELT=yes CHROMAPRINT=no 
> DC1394=yes DECKLINK=no EBUR128=yes FDK_AAC=yes FLITE=yes FREI0R=yes 
> GME=yes GSM=yes IEC61883=yes ILBC=yes LADSPA=yes LAME=yes MODPLUG=yes 
> NETCDF=yes OPENAL=yes OPENCORE=yes OPENCV=no OPENSSL=yes OPUS=yes 
> RTMP=yes RUBBERBAND=yes SCHROEDINGER=yes SNAPPY=yes SPEEX=yes 
> TESSERACT=yes TWOLAME=yes VIDSTAB=yes WEBP=yes X264=yes X265=yes 
> XVID=yes ZMQ=yes ZVBI=yes
>
> Chris
>



More information about the SlackBuilds-users mailing list