Re: cryptsetup: /lib/arm-linux-gnueabihf/libcryptsetup.so.12: version `CRYPTSETUP_2.4' not found error
Geza Bohus <[email protected]>
| Newsgroups | dev.linux.lists.cryptsetup |
|---|---|
| Message-ID | <[email protected]> |
Got it, thank you. G On 2022. April 4. at 19:07:24, Milan Broz ([email protected] (mailto:[email protected])) wrote: > 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