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: [email protected]
          Reporter: [email protected]

/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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to