From: "Michael Kjörling" <michael@kjorling.se>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Question regarding Cryptosetup
Date: Mon, 4 Nov 2019 09:58:15 +0000 [thread overview]
Message-ID: <nj7kpjphkv9vsw7bkrgh7rh7@localhost> (raw)
In-Reply-To: <CAKxfaDOmg6LZvFie9f4Pew3h7saGgYxshDesmRTqbZZrjDoBAA@mail.gmail.com>
On 4 Nov 2019 01:07 +0000, from p.zdravkov1617@gmail.com (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 • michael@kjorling.se
“The most dangerous thought that you can have as a creative person
is to think you know what you’re doing.” (Bret Victor)
next prev parent reply other threads:[~2019-11-04 9:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-04 1:07 [dm-crypt] Question regarding Cryptosetup Petar Zdravkov
2019-11-04 9:58 ` Michael Kjörling [this message]
2019-11-04 12:00 ` Milan Broz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nj7kpjphkv9vsw7bkrgh7rh7@localhost \
--to=michael@kjorling.se \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox