Hi, 

We are developing a multiplatform application that access to a smart-card to 
generate a xml-dsign signature. This application is written in java language. 
And it is compatible with java 1.6 version. In Mac OS X this virtual machine 
implementation is 64 bits compatible only. 

We need to load, from java virtual machine 1.6 (64 bits), the opensc-pkcs11.so 
library. If we try to load the i386 one, the java code throws a univeral 
architecture error. 

We compiled the opensc library with 64 bits flag on, and then tried to execute 
the code (from java 64 bits) that loads opensc-pkcs11.so library. Then an error 
of libusb universal architecture error arises. We think that until the new snow 
leopard version will released the aproach will fail. The kernel and the drivers 
of Leopard are 32 bits not 64 bits compatible. Is that correct? or can we 
compile all the opensc/sca (opensc, libusb etc..) project and load the 
opensc-pkcs11.so library from jdk 64 bits? 

thanks in advance 
--gustavo 

----------------------------------------- 
Gustavo Fernández 
ZYLK.net - iniciativas tecnológicas 
Enpresaldea, Modulo 9. 
Ctra. Basurto Castresana 70. 
48002 Bilbao (Bizkaia) 

movil: 637546184 
ofic.: 944272119 
email: gus at zylk.net 
----------------------------------------- 

----- Mensaje original ----- 
De: "Ludovic Rousseau" <ludovic.rouss...@gmail.com> 
Para: "Gustavo Fernández" <g...@zylk.net> 
CC: "opensc-dev" <opensc-devel@lists.opensc-project.org> 
Enviados: Lunes, 9 de Marzo 2009 15:31:05 GMT +01:00 Amsterdam / Berlín / Berna 
/ Roma / Estocolmo / Viena 
Asunto: Re: [opensc-devel] opensc SCA 64 bits 

2009/3/9 Gustavo Fernández <g...@zylk.net>: 
> Is it possible to compile any smart card reader driver (any driver in fact) 
> for x86_64 in Leopard? or should we wait until the snow leopard (10.6.x) mac 
> os x. 

On my Leopard system the PCSC framework is available for i386 and 
ppc7400 only. No support of 64-bits. 

$ cd /System/Library/Frameworks/PCSC.framework/Versions/Current 
$ file PCSC 
PCSC: Mach-O universal binary with 2 architectures 
PCSC (for architecture i386): Mach-O dynamically linked shared library i386 
PCSC (for architecture ppc7400): Mach-O dynamically linked shared library ppc 

Why do you want/need a 64-bits version of OpenSC? 

Bye 

-- 
Dr. Ludovic Rousseau 
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to