/lib/libzfs_core.so.2: Undefined symbol "zcmd_ioctl_compat"
zcmd_ioctl_compat symbols is provided by libzfs.so.
libzfs.so has an explicit dependency on libzfs_core.so.
It seems that ioctl compatibility code (that allows older userland to interact with newer kernel-side ZFS) is to blame.
The problem seems to be fixed by the following commit:
Not sure if MFC is expected.
libavl has the same problem:
~/svn/clean3 # tools/build/check-links.sh /usr/lib/libavl.so
checking if libc.so.7 is needed: yes... __stack_chk_fail
Unresolved symbol aok