- 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/libiconv as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/libiconv)
pkg_deps=(core/libiconv)
To install this plan, you should run the following commands to install it.
hab pkg install core/libiconv
» Installing core/libiconv
☁ Determining latest version of core/libiconv in the 'stable' channel
→ Using core/libiconv/1.14/20200306010416
★ Install of core/libiconv/1.14/20200306010416 complete with 0 new packages installed.
To view the library files you must first search for them with habitat.
hab pkg path core/libiconv
/hab/pkgs/core/libiconv/1.14/20200306010416
ls /hab/pkgs/core/libiconv/1.14/20200306010416
bin/
include/
lib/
share/
Libiconv includes a binary for iconv, which will be tested in a control. However it is not binlinked at install time so this plan is being treated as a library.