Date: Fri, 16 Jul 2021 19:08:35 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257222] Cannot use libzfs.h from user space programs due to missing libnvpair.h and other dependencies Message-ID: <bug-257222-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257222 Bug ID: 257222 Summary: Cannot use libzfs.h from user space programs due to missing libnvpair.h and other dependencies Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: msl0000023508@gmail.com With FreeBSD's ZFS code base base switched to OpenZFS 2, a 'libzfs.h' final= ly provided with the base system, apparently resolving bug #193748; however th= is header is not useable by default, as many of its dependencies aren't provid= ed with base system, such as 'libnvpair.h', the first missing header. As a res= ult, to build anything that requires libzfs.h, a full FreeBSD source code must be installed, then configure the compiler to search headers from several diffe= rent locations under the FreeBSD source tree. Please make using libzfs in FreeBSD easier, by providing the ability of including libzfs.h just from base system, without need of installing full source code and manually adding many '-I' options to compiler. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257222-227>