[Help] Missing libzmq.pc

Hi,

I have installed libzmq bundle on Clear Linux when I try to build a docker image.
However, one of application I try to install require libzmq-dev (if using Ubuntu) package.

It display an error msg while trying to install the application on Clear Linux:

Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found

Is there any way to add libzmq.pc to Clear Linux or other solution? Thanks.

Try this and see if it works:

sudo swupd bundle-add  libzmq devpkg-libzmq
1 Like

Thank a lot. It does solve the problem. =D

for the record:

$ swupd search libzmq.pc
Bundle with the best search result:
     devpkg-libzmq                      - All content for pkgconfig file libzmq.pc.  (1MB) 

This bundle can be installed with:

  swupd bundle-add  devpkg-libzmq

$ swupd search-file libzmq.pc
Error: This program must be run as root..aborting.

$ sudo swupd search-file libzmq.pc
Downloading Clear Linux manifests (52.05 MB)
        ...100%
Searching for 'libzmq.pc'

Bundle devpkg-libzmq (1 MB to install)
        /usr/lib64/pkgconfig/libzmq.pc

1 Like