[pkg-opensc-maint] Bug#815004: Engine is installed at wrong location

Wouter Verhelst wouter at debian.org
Wed Feb 17 11:02:54 UTC 2016

Package: libengine-pkcs11-openssl
Version: 0.2.1-1
Severity: grave
Justification: makes the package in question unusable


After installing libengine-pkcs11-openssl, the following happens:

wouter at gangtai:~$ openssl engine pkcs11 -t
139772252497552:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib/x86_64-linux-gnu/openssl-1.0.2/engines/libpkcs11.so): /usr/lib/x86_64-linux-gnu/openssl-1.0.2/engines/libpkcs11.so: cannot open shared object file: No such file or directory
139772252497552:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:232:
139772252497552:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:465:
139772252497552:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:390:id=pkcs11

This is because libengine-pkcs11-openssl writes its engine files to
/usr/lib/ssl/engines rather than the location where current OpenSSL
looks for engines.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libengine-pkcs11-openssl depends on:
ii  libc6        2.21-8
ii  libp11-2     0.3.1-1
ii  libssl1.0.2  1.0.2f-2

libengine-pkcs11-openssl recommends no packages.

libengine-pkcs11-openssl suggests no packages.

-- no debconf information

More information about the pkg-opensc-maint mailing list