[pkg-cryptsetup-devel] Bug#677127: Bug#677127: relocation error

Jonas Meurer jonas at freesources.org
Tue Jun 12 17:52:21 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Milan,

Am 12.06.2012 17:43, schrieb Milan Broz:
> On 06/11/2012 09:31 PM, pkk at spth.de wrote:
>> /sbin/crpytsetup: relocation error: /sbin/cryptsetup: symbol 
>> crypt_activate_by_key_file_offste, version CRYPTSETUP_1.0 not
>> defined in file libcryptsetup.so.4 with link time reference
> 
> 
> just if it helps: crypt_activate_by_key_file_offset was added in
> 1.4.2 libcryptsetup, library is backward compatible but not forward
> compatible of course.
> 
> Isn't possible that you have in initramfs old libcryptsetup.4 but 
> new cryptsetup binary? (it should have proper version set, so it
> should be visible even for *.so symlink)

Yup, that might be the problem. I realized that cryptsetup-bin
(2:1.4.3-1) depends on libcryptsetup4 (>= 2:1.4). Obviously this
versioned depenency is to lax.

It seems like the symbols file for libcryptsetup4 is broken. It lists
all symbols with a wildcard and gives libcryptsetup4 (>= 2:1.4) as
minimum dependency. This is wrong as soon as new symbols are added to
the library without bumping the soname.

Investigating right now and trying to fix ;)

Regards,
 jonas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP14HNAAoJEFJi5/9JEEn+PS0P/Rmz4oM6OYhn+/3ui9/O/dna
6bKNiKYMsq5p37Gc8ChXSSNkT8AQ44AkbYiowxmgap8F+nQF6vj547KwUbtCqIi6
2iwfiIHal6L/oKCc8r7vbDLZpSYf80Kyrw58+DsSpZuzlIqHAA8lK1gHMKT8g8yU
ABOB+WOdODhow3txDAScibZqZYXM3J12PjuHIKfEjZuJxJTVSZSck1/o8IXCdhiR
X3YdCMLcoBjhYc6nRjjlB3+HbJwt677fIGVv/aWQuogzjmZoQfyHMuU9B1X6kbJB
384zlPM6y2vKWoEKAMp1hqJDS0aKhopqUMLyyK6NW2YrMBjaUwyLksi5h/UNhyJC
wqdQhskXpBgm43Zp4FCKwUWJohc/qwJw/lpWmA124cqEF4oWzB1W6oWpvJLGst0W
XnwZn2xep8w7qLAqeUd90v16YtBSw5izoMt6NrC5hHgJUlJHg9yofxVUiO0sAqyA
icjJzmsHxrYg+uuyPO/pyp+QsGBmLRmyajmHq5uR0BYcf2QuZd5JZ71HtO/hDRmV
26VOiVZE5Vp2klhiasQZKY1gHRIQ8LSUkRVUUoZ1wdLLg7NX/bn5enr10eAzlOpe
bITk2VhRfQa3fiDcUpsS90F7sHIgqOSjRSljnz7cYbrBvqR7zd0j3L/v/PQ4+zk5
9mcnHtIqy1VCciCZsoqG
=5lVz
-----END PGP SIGNATURE-----





More information about the pkg-cryptsetup-devel mailing list