Opened 3 years ago

Last modified 2 years ago

#56733 assigned defect

czmq: does not find zmq's pkg-config files

Reported by: mojca (Mojca Miklavec) Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: czmq zmq

Description

While trying to add zmq support to FontForge I noticed that there's something strange with (c)zmq configuration

> pkg-config --cflags libczmq
Package zmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `zmq.pc'
to the PKG_CONFIG_PATH environment variable
Package 'zmq', required by 'libczmq', not found

The zmq itself provides /opt/local/lib/pkgconfig/libzmq.pc rather than /opt/local/lib/pkgconfig/zmq.pc

Change History (1)

comment:1 Changed 2 years ago by joefowler (Joe Fowler)

I think that the resolution is to change the file /opt/local/lib/pkgconfig/libczmq.pc where the line Requires:zmq should be changed to Requires:libzmq

As this package file is auto-generated, though, I'm not sure what patch to create in order to effect this change. Until the package is corrected, you can make this change yourself by hand.

Note: See TracTickets for help on using tickets.