Bug#642041: p11-kit: modules with relative path are not getting loaded

Gert Michael Kulyk gkulyk at yahoo.de
Sun Sep 18 21:04:36 UTC 2011


Source: p11-kit
Version: 0.6-1
Severity: normal

Trying out the new gnome-keyring package (3.1.92) which is multiarch-friendly, I had to find out that while compiling p11-kit modules is working correctly, the loading does not due to a broken module-path hardcoded into the libraries. Instead for "/usr/lib/i386-linux-gnu/pkcs11", the p11-kit libraries are looking for "${prefix}/lib/i386-linux-gnu/pkcs11". 
During debian package compilation "--libdir='${prefix}'/lib/$(DEB_HOST_MULTIARCH)" is passed as an option, what does not harm during compilation, because the variable is getting properly expanded, but obviously not in case of the hardcoded default module path in the libraries. Passing "--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)" resolves the issue for me.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-gnutls-maint mailing list