Re: [opensc-devel] OpenSC SCA and PKCS#11

2009-06-26 Thread Jakob Schlyter
On 11 jun 2009, at 00.18, Peter Stuge wrote: > The canonical way of using opensc-pkcs11.so is to dlopen() it, I > don't think direct linking of the .so will work so well. > > Maybe you can use pkcs11-helper or libp11 as your PKCS#11 access > method? Or just dlopen() the .so. yes, we've changed ou

Re: [opensc-devel] OpenSC SCA and PKCS#11

2009-06-10 Thread Peter Stuge
Hej Jakob, Jakob Schlyter wrote: > gcc -o hsm-toolkit -O3 -W -Wall -Werror -g -I. -L/usr/local/lib \ > /Library/OpenSC/lib/opensc-pkcs11.so hsm-toolkit.c > ld: in /Library/OpenSC/lib/opensc-pkcs11.so, can't link with bundle > (MH_BUNDLE) only dylibs (MH_DYLIB) > collect2: ld returned 1 ex

[opensc-devel] OpenSC SCA and PKCS#11

2009-06-10 Thread Jakob Schlyter
I'm trying to link our (the OpenDNSSEC project's) HSM/PKCS#11 tools (http://svn.opendnssec.se/trunk/hsm-toolkit/ ) with OpenSC's pkcs11 library (installed from MacOSX SCA), but it just doesn't link. example: gcc -o hsm-toolkit -O3 -W -Wall -Werror -g -I. -L/usr/local/lib \ /Library/Op