When I compiled the volume_key source code, the following link error occurred.
-Wwrite-strings -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/generic-hardened-ld -o .libs/volume_key volume_key-volume_key.o ../lib/.libs/libvolume_key.so -L/usr/lib64 -lblkid -lgpgme -lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_set_log_callback' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_keyslot_add_by_volume_key' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_get_volume_key_size' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_volume_key_get' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_load' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_free' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_volume_key_verify' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_activate_by_volume_key' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_get_cipher' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_get_cipher_mode' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_init' /usr/bin/ld: ../lib/.libs/libvolume_key.so: undefined reference to `crypt_get_uuid' collect2: error: ld returned 1 exit status
Metadata Update from @alittlesir: - Issue status updated to: Closed (was: Open)