Re: Building issues with latest cryptsetup package

Milan Broz <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>

On 12/09/2019 12:13, Anon wrote:
> Hi,
> 
> Ime having issues trying to properly install/configure cryptsetup 2.2.1. I'm testing it in a VM with the same is as I use primarily to prevent data loss and I'm glad I did. I use Kubuntu 19.04. As luks is security software I like to stay up to date, Kubuntu includes version 2.1.0 therefore I'm trying to update it's version.
> 
> I extracted the archive, CD into it and ran: ./configure
> First time got a bunch of missing dependencies such as dev-mapper header files, libssl, blkid..I got those all installed then configure ran without errors.
> 
> I then ran make, and that completed just fine. Then sudo make install, which was successful.
> 
> Once running a cryptsetup command (such as cryptsetup --version), it would give me error: cryptsetup: relocation error: cryptsetup: symbol crypt_reencrypt_init_by_passphrase version CRYPTSETUP_2.0 not defined in file libcryptsetup.so.12 with link time reference

Check ldd over cryptsetup binary, you have apparently some older libcryptsetup library in some system path, just remove it.

(This is a new symbol added in 2.2)

m.


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