ZeroMQ core engine in C++, implements ZMTP/3.1. See documentation
- The Core Planners: chef-core-planners@chef.io
Library package
Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.
To add core/zeromq as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/zeromq)
pkg_deps=(core/zeromq)
To install this plan, run the following command:
hab pkg install core/zeromq
$ hab pkg install core/zeromq
» Installing core/zeromq
☁ Determining latest version of core/zeromq in the 'stable' channel
☛ Verifying core/zeromq/4.3.1/20200319192759
→ Using core/gcc-libs/9.1.0/20200305225533
→ Using core/glibc/2.29/20200305172459
☛ Verifying core/libsodium/1.0.18/20200319192446
→ Using core/linux-headers/4.19.62/20200305172241
→ Using core/zlib/1.2.11/20200305174519
✓ Installed core/libsodium/1.0.18/20200319192446
✓ Installed core/zeromq/4.3.1/20200319192759
★ Install of core/zeromq/4.3.1/20200319192759 complete with 2 new packages installed.
[3][default:/src/zeromq:0]#
To view the library files first get the habitat installation directory
hab pkg path core/zeromq
/hab/pkgs/core/zeromq/4.3.1/20200319192759
Then list the libraries, for example:
$ ls -1 $(hab pkg path core/zeromq)/lib
ls -1 $(hab pkg path core/zeromq)/lib
libzmq.a
libzmq.la
libzmq.so
...
...
Apps can now compile against the above libraries.