Bug 248643 - Openzfs 2.0 integration issue - zfs encryption undefined symbol - PKCS5_PBKDF2_HMAC_SHA1
Summary: Openzfs 2.0 integration issue - zfs encryption undefined symbol - PKCS5_PBKDF...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2020-08-13 14:47 UTC by Jeremy Faulkner
Modified: 2020-08-19 14:26 UTC (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Faulkner 2020-08-13 14:47:51 UTC
Issuing zfs create -o encryption=on -o keyformat=passphrase s3backup/encrypted


Enter passphrase:
Re-enter passphrase:
ld-elf.so.1: /lib/libzfs.so.3: Undefined symbol "PKCS5_PBKDF2_HMAC_SHA1"
Comment 1 Matt Macy freebsd_committer 2020-08-13 23:13:45 UTC
(In reply to Jeremy Faulkner from comment #0)
Can you pull with rebase the latest projects/openzfs_vendor from https://github.com/mattmacy/networking.git and see if that fixes the problem.
Comment 2 Jeremy Faulkner 2020-08-14 04:14:48 UTC
(In reply to Matt Macy from comment #1)

I did the original install from the installers Ed tweeted about: https://people.freebsd.org/~freqlabs/freebsd-openzfs/latest/

So I git cloned as instructed from CTF reminder email to fs@ and built world and kernel. The ZFS kernel module took an alarmingly long time and was running git and shell. Don't know if that's the new normal for compiling OpenZFS

>>> Kernel(s)  GENERIC built in 8604 seconds, ncpu: 4, make -j4

The error still occurred.

gldisater@S3Backup:~ $ uname -a
FreeBSD S3Backup 13.0-CURRENT FreeBSD 13.0-CURRENT #0 e3fd3e29009-c270476(projects/openzfs_vendor): Thu Aug 13 20:02:03 EDT 2020     root@S3Backup:/usr/obj/usr/home/gldisater/freebsd-openzfs/freebsd/amd64.amd64/sys/GENERIC  amd64
Comment 3 Jeremy Faulkner 2020-08-14 16:36:21 UTC
uname -a
FreeBSD S3Backup 13.0-CURRENT FreeBSD 13.0-CURRENT #1 8a50d4b9f47-c270552(projects/openzfs_vendor): Fri Aug 14 08:58:11 EDT 2020     root@S3Backup:/usr/obj/usr/home/gldisater/freebsd-openzfs/freebsd/amd64.amd64/sys/GENERIC  amd64

works now