[FFmpeg-user] configure gives "ERROR: libzmq >= 4.2.1 not found using pkg-config"

Matt C asperi at hotmail.com
Thu Feb 24 19:32:43 EET 2022

Here are my notes on it, I gave up on it in the end...

=======SKIP libzmq!===========
sudo apt-get install libzmq3-dev  ---skip
========-for ubuntu 21.10 also do this========= wants libzmq 4.2.1
new cmd
sudo apt install libtool libtool-bin
sudo apt install build-essential
check gcc version: gcc -v
Ub 21.10 comes with gcc version 11.2.0 You want GCC version 9.3.0 (what ubuntu 20.04 had)
sudo apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
gcc -v  >>go back to version 10 after this
sudo update-alternatives --config gcc    pick version 9
https://github.com/zeromq/libzmq/releases   zeromq-4.2.1.tar.gz
extract, move home.  cd zeromq-4.2.1
sudo make install

------copy all and paste----
echo 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_20.10/ /' | sudo tee /etc/apt/sources.list.d/network:messaging:zeromq:release-stable.list
curl -fsSL https://download.opensuse.org/repositories/network:messaging:zeromq:release-stable/xUbuntu_20.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/network_messaging_zeromq_release-stable.gpg > /dev/null
sudo apt update
sudo apt install libzmq3-dev
------copy all and paste----
================SKIP libzmq!===========^^^

From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Reindl Harald <h.reindl at thelounge.net>
Sent: Thursday, February 24, 2022 1:46 PM
To: ffmpeg-user at ffmpeg.org <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] configure gives "ERROR: libzmq >= 4.2.1 not found using pkg-config"

Am 24.02.22 um 10:31 schrieb Moritz Barsnick:
> On Wed, Feb 23, 2022 at 22:41:46 +0100, Reindl Harald wrote:
>>> https://packages.debian.org/bullseye/arm64/libzmq3-dev/filelist
>> and you think "libzmq3-dev" is >= 4.2.1?
>> why?
>> "ERROR: libzmq >= 4.2.1 not found using pkg-config"
> Because that is what its pkg-config file claims:
> -----
> $ ar -p libzmq3-dev_4.3.4-1_arm64.deb data.tar.xz | tar xOJvf - \*libzmq.pc
> ./usr/lib/aarch64-linux-gnu/pkgconfig/libzmq.pc
> prefix=/usr
> exec_prefix=${prefix}
> libdir=${prefix}/lib/aarch64-linux-gnu
> includedir=${prefix}/include
> Name: libzmq
> Description: 0MQ c++ library
> Version: 4.3.4
> Libs: -L${libdir} -lzmq
> Libs.private: -lstdc++  -lpthread -lrt
> Requires.private:  krb5-gssapi libsodium openpgm-5.3 >= 5.3 norm libbsd
> Cflags: -I${includedir}
> -----

> Name is libzmq, Version is 4.3.4. That should be >= 4.2.1.

ok, typical debian-brainfuck "libzmq3-dev" and "libzmq5"
what the hell is the 3/5 for?

on Fedora you add "-devel" to the exact package name and you are done -
simple logic
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list