Leaving /usr/local/lib the default path is fine, knowing the --module
option changes it all.
Jean-Pierre's solutions looks very appropriate to me.
Regards,
--
Javier Manzano Valdearenas
[EMAIL PROTECTED]
C3PO, S.L.
http://www.c3po.es
C/Bertran, 113 - 08023 Barcelona
Tel. 93 417 99 55 - Fax. 93 253 12 80
Jean-Pierre Szikora escribió:
Andreas Jellinghaus a écrit :
we still have a hard coded default module name "opensc-pkcs11" or
"opensc-pkcs11.so". With the switch to ltdl() functions we don't
need to compile in the exact location of that file. instead the normal
paths are searched (under linux: LD_LIBRARY_PATH and /etc/ld.so.conf),
i.e. the same directories are searched as for normal libraries.
On MacOSX, until a better solution, we can solve the pkcs11-tool
--module issue, simply by creating a symbolic link:
sudo ln -sf /Library/OpenSC/lib/opensc-pkcs11.so
/usr/lib/opensc-pkcs11.so
so the pkcs11 lib will be in the normal search path.
if you specify a full path with --module option that one is used of
course.
Also we could remove that compiled in default and make the --module
option mandatory. that might be less confusing for the user, but of
course you would need to enter it every time.
No...
Regards,
Jean-Pierre
_______________________________________________
Servicio Tecnico de C3PO S.L.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel