Re: cryptsetup: /lib/arm-linux-gnueabihf/libcryptsetup.so.12: version `CRYPTSETUP_2.4' not found error

Milan Broz <[email protected]>
Newsgroups dev.linux.lists.cryptsetup
Message-ID <[email protected]>
On 04/04/2022 18:41, Geza Bohus wrote:
>   
> 
> Thanks for your reply. Of course I saw the problem with the versions, I just don't understand how it can require a newer version than what apt claims to be the latest.
> 
> If I understand correctly, you're suggesting to do
> 
> sudo apt install cryptsetup

Basically, yes.

You have somewhere in PATH new cryptsetup tool, but in lib dir old libcryptsetup.

(If you installed it manually, it can by in various non-standard locations, so
the best is check "which cryptsetup" (or "type -p cryptsetup") and remove it
from there manually, then reinstall the version from your distribution.

Usually we are backward compatible, but it is really not a good idea to combine
different version of libcryptsetup and cryptsetup.

(IOW what you see is the "correct" error caused by library symbols versioning
to prevent a malfunction :-)

Milan
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.