> Reading file from smart card...  <-- well it started at least!
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no OCFPCSC1

export PCSC_DIR=/path/to/ocfpcsc
cd /usr/lib
ln -s $PCSC_DIR/OCFPCSC1-0.0.1/libOCFPCSC1.so libOCFPCSC1.so

Morten




> in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
> at java.lang.Runtime.loadLibrary0(Runtime.java:749)
> at java.lang.System.loadLibrary(System.java:820)
> at opencard.core.util.SystemAccess.loadLibrary(SystemAccess.java:111)
> at com.ibm.opencard.terminal.pcsc10.OCFPCSC1.loadLib(OCFPCSC1.java:64)
> at
> 
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.open(Pcsc10CardTerminalFactory.java:94)
> at
> 
>com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory.<init>(Pcsc10CardTerminalFactory.java:65)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:237)
> at
> opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:424)
> at
> opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
> at opencard.core.service.SmartCard.start(SmartCard.java:534)
> at samples.readfile.ReadFile.main(ReadFile.java:14)  
> 
> There is a OCFPCSC1.class file in the reference-terminals-windows.jar 
> library file from the OCF distribution, which was copied to 
> $(java_home)/lib/ext. As far as I understood the JDK stuff this 
> directory with all contained files is automatically in the classpath!???
> 
> Any hint/help would be apreciated!
> Gerd
> 
> PS.: Send replies (if any) to the address below. The address 
> in the header might be misleading or not available!
> -------------------------------------------
> - Gerd Schering             email: [EMAIL PROTECTED]  -          
> -------------------------------------------
> 
> 
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
> 
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe 
> ! in the body.
> 



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to