From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7kWiWAxPFRtD for ; Thu, 21 Nov 2013 15:55:44 +0100 (CET) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 21 Nov 2013 15:55:43 +0100 (CET) Message-ID: <528E1EDE.9010309@riseup.net> Date: Fri, 22 Nov 2013 01:55:26 +1100 From: "shmick@riseup.net" MIME-Version: 1.0 References: <528CE6D7.8030005@riseup.net> <528D07E2.9040601@gmail.com> In-Reply-To: <528D07E2.9040601@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] 1.6.2 - waiting for zero, luksFormat hung List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Milan Broz Cc: dm-crypt@saout.de Milan Broz: > > On 11/20/2013 05:44 PM, shmick@riseup.net wrote: >> ./configure --with-crypto_backend=openssl --enable-dev-random >> >> cryptsetup benchmark >> >> # Tests are approximate using memory only (no storage IO). >> cryptsetup: relocation error: cryptsetup: symbol crypt_benchmark_kdf, >> version CRYPTSETUP_1.0 not defined in file libcryptsetup.so.4 with link >> time reference > > You are compiling own version, but code apparently tries to load old > libryptsetup library from system. > (And it seems I did lib versioning wrong here ...) i tried compiling with libgcrypt 1.5.3 but the same errors occur > > Either try to run src/cryptsetup (libtool wrapper should provide proper paths) > or override library path using LD_LIBRARY_PATH. > (it should point to src/lib/.libs or so) same problem ./configure --with-libgcrypt-prefix=/usr/local LDFLAGS=-L/usr/local/lib (this is where libgcrypt is) > > (Or if you installed compiled version, be sure it overwrites old libcryptsetup.) ive also then tried with my distro default cryptsetup 1.4.1 but the same errors again in xts mode with AES or TWOFISH any ideas ??? > > Milan >