I expect you have a newer version of pmempool and an old version of libndctl. Try updating the libndctl or ndctl-libs package (depends on your Linux distro). Also, check that your LD_LIBRARY_PATH environment variable is sourcing the correct library version.
You can check your current lib by following the symbolic link, eg:
# ls -l libndctl.so.6
lrwxrwxrwx. 1 root root 18 Dec 31 12:57 libndctl.so.6 -> libndctl.so.6.20.1
Or use readelf
# readelf -a -W libndctl.so.6 | grep LIBNDCTL_18
340: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS LIBNDCTL_18
426: 0000000000013e20 8 FUNC GLOBAL DEFAULT 13 ndctl_dimm_get_dirty_shutdown@@LIBNDCTL_18
443: 000000000001ac60 9 FUNC GLOBAL DEFAULT 13 ndctl_namespace_get_next_badblock@@LIBNDCTL_18
467: 000000000001da80 438 FUNC GLOBAL DEFAULT 13 ndctl_namespace_get_first_badblock@@LIBNDCTL_18
478: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS LIBNDCTL_18
154: 9 (LIBNDCTL_18) a (LIBNDCTL_19) 3 (LIBNDCTL_3) 3 (LIBNDCTL_3)
1a8: 3 (LIBNDCTL_3) 3 (LIBNDCTL_3) 9 (LIBNDCTL_18) 3 (LIBNDCTL_3)
1b8: 7 (LIBNDCTL_16) 3 (LIBNDCTL_3) 4 (LIBNDCTL_13) 9 (LIBNDCTL_18)
1d0: 3 (LIBNDCTL_3) 3 (LIBNDCTL_3) 3 (LIBNDCTL_3) 9 (LIBNDCTL_18)
0x0110: Rev: 1 Flags: none Index: 9 Cnt: 2 Name: LIBNDCTL_18
0x0150: Parent 1: LIBNDCTL_18
In the above, you can see that my libndctl supports up to ABI version 20. The packaged version is v72.1