[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#640812: How can I reproduce this?



tag 640812 - unreproducible moreinfo
thanks

On Sep 10, Guido Trotter <ultrotter@debian.org> wrote:

> I tried to reproduce this with something like p11tool --provider
> /usr/lib/pkcs11/libopencryptoki.so --list-tokens but it doesn't fail.
> Can you please tell me what command exactly you're running, and how it fails?
This can be trivially reproduced with a command like:

strace -e trace=open pkcsconf -s

Which will show that dlopen(3) looks for the modules only in the default 
library path.

Unless /usr/lib/opencryptoki/stdll/ is in $LD_LIBRARY_PATH then errors 
like this will be logged:

Aug 16 04:41:40 bongo openCryptokiModule[5636]: DL_Load: dlopen() failed for [libpkcs11_sw.so]; dlerror = [libpkcs11_sw.so: impossibile aprire il file oggetto condiviso: File o directory non esistente]

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: