Date: Thu, 30 Apr 2015 13:39:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199811] libnvpair has a sneaky dependency on libzfs Message-ID: <bug-199811-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199811 Bug ID: 199811 Summary: libnvpair has a sneaky dependency on libzfs Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: avg@FreeBSD.org /lib/libnvpair.so.2: Undefined symbol "aok" Symbol aok is provided by lbzfs.so (and libzpool.so as well). aok variable modifies behavior of assfail() function and ASSERT*() macros provided for illumos contributed code. ASSERT() is used in sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c file which shared by both the kernel nvlist / nvpair code and the userland library. Given that lbzfs.so and libzpool.so both depend on libnvpair.so, but the latter depends on neither, it might make sense to collapse 'aok' definition and move it to libnvpair. More elegant solution would be to introduce a library like "libillumos_compat" that would have illumos compatibility definitions that are not specific to any specialized library. -- 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-199811-8>