Re: Question regarding Cryptosetup

Michael Kjörling <michael-/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <nj7kpjphkv9vsw7bkrgh7rh7@localhost>
On 4 Nov 2019 01:07 +0000, from [email protected] (Petar Zdravkov):
> what I get as an error message is:
> *relocation error: cryptsetup: symbol crypt_keyslot_tpm_add_by_key version
> CRYPTSETUP_2.0 not defined in file libcryptsetup.so.12 with link time
> reference*

I'm guessing that your version of the cryptsetup executable does not
match the libcryptsetup shared library.

You can check what shared libraries the dynamic linker wants to load
by doing `type cryptsetup` to get the path to the cryptsetup binary
that the shell launches, then `ldd /path/to/cryptsetup` to see what
shared libraries the dynamic linker wants to load for it. (`ldd` needs
the full path to the executable, so you can't just do something like
`ldd cryptsetup`.)

-- 
Michael Kjörling • https://michael.kjorling.se • [email protected]
  “The most dangerous thought that you can have as a creative person
              is to think you know what you’re doing.” (Bret Victor)

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.