From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pio-pvt-msa2.bahnhof.se (pio-pvt-msa2.bahnhof.se [79.136.2.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Mon, 4 Nov 2019 10:58:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTP id 6488140A59 for ; Mon, 4 Nov 2019 10:58:17 +0100 (CET) Received: from pio-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ivg9BFc3JpuL for ; Mon, 4 Nov 2019 10:58:16 +0100 (CET) Received: from localhost (unknown [94.254.51.202]) (Authenticated sender: mc995404) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id 7036640A51 for ; Mon, 4 Nov 2019 10:58:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTPS id 18C8F2E02C1 for ; Mon, 4 Nov 2019 10:58:16 +0100 (CET) Date: Mon, 4 Nov 2019 09:58:15 +0000 From: Michael =?utf-8?B?S2rDtnJsaW5n?= Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [dm-crypt] Question regarding Cryptosetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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)