Does this have anything to do with finding the openssl crypto lib?
What does otool -L show? (Sort of like the unix ldd command.)
Does DYLD_LIBRARY_PATH have to be set before the build?
The linker will add this to the library path.
JP Szikora wrote:
Javier Manzano Valdearenas a écrit :
Hi Jean,
I have compiled my own version of SCA and tried yours. Both are giving
me a little error on loading opensc-pkcs11.so file.
I try pkcs11-tool and gives me the following error.
./pkcs11-tool -lO
error: Failed to load pkcs11 module
Hola Javier,
You're right, you need to give the path to the pkcs11 lib with the
--module option:
./pkcs11-tool -lO --module /Library/OpenSC/lib/opensc-pkcs11.so
I try loading the "/Library/OpenSC/lib/opensc-pkcs11.so" module in
Firefox and gives me a can't load the module error.
To load the lib in Firefox, you need certainly to have a card reader
connected, and maybe a card inserted. Can you try?
Then I copy the opensc-pkcs11.so file to /usr/local/lib and all works
fine.
I 've no explanation. Can you give more infos about your setup. Which
processor? card reader? card?
I have been searching in the opensc source with no luck, any idea?
Salutations,
Adiós,
Jean-Pierre
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
--
Douglas E. Engert <[EMAIL PROTECTED]>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel