Am Dienstag 17 November 2009 16:27:42 schrieb Marc Wäckerlin:
> I compiled again after "./configure --enable-pcsc", but I
> don't install it (because I don't want to break my system),
> but call my PKCS#11 Application passing the Library to be

install it into some new empty directory. for example
$ sudo mkdir /opt/my-opensc
$ sudo chown marc /opt/my-opensc
$ ./configure --prefix=/opt/my-opensc --enable-pcsc
$ make
$ make install

then make sure your path is properly setup:
$ export LD_LIBRARY_PATH=/opt/my-opensc/lib:$LD_LIBRARY_PATH
$ ldd /opt/my-opensc/bin/pkcs15-init
$ ldd /opt/my-opensc/lib/opensc-pkcs11.so

also check the config file. "reader_drivers" should be set
to "pcsc" and the pcsc library needs to be configured where
it is (e.g. "/usr/lib/libpcsclite.so.1").

$ /opt/my-opensc/bin/opensc-tool -r 
should now show the reader.

if not, a full debug log file is needed for analysis.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to