Re: Omnikey Cardman 4000

Christian Schuermann <[email protected]> Thu, 26 Apr 2007 19:57:33 +0200
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Martin Preuss schrieb:
> [...]
>>> Hmm, are you by any chance trying to load a 32 bit library into a 64 bit
>>> application?
>> Ouch. Sorry for waisting your time. The libcm4000 is of course a 32bit
>> library. But afaik there is no 64bit version availible. Are there any
>> chances to get this to work?
> [...]
> 
> Theoretically, yes: One could mix a 32-Bit and a 64-Bit-Version of 
> Libchipcard. Libchipcard starts small tools which actually load the driver. 
> The 64-Bit version of course contains only 64-Bit tools, but you could 
> exchange the driver loader tool with the 32-bit version 
> (usr/lib/chipcard3/server/drivers/ctapi). That should do the trick...

No success :(

# chipcard3-tool check
   Readers:
   - auto1-omnikey_cm4000 (omnikey_cm4000, port 0): error
Event log:
16:11:36 Reader listing
16:11:38 Driver error (Loading library)

# ./ctapi
./ctapi: error while loading shared libraries: libchipcard3d.so.0: wrong 
ELF class: ELFCLASS64

Any more ideas?

Regards, Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/