Project

General

Profile

Actions

Bug #216

closed

PCSC fails to load shared library on linux

Added by Tobias Wich over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/09/2013
Due date:
% Done:

0%

Estimated time:
Reviewer:
Johannes Schmölz
Build Version:

Description

OpenJDK and apparently Oracle JDK use a flawed mechanism to load libpcsclite.so. The problem is fixed in Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529339), but at least not in Fedora.

In order to fix this issue, the library paths can be adjusted as it is the case in the Belgian eID Applet (https://code.google.com/p/eid-applet/source/browse/trunk/eid-applet-core/src/main/java/be/fedict/eid/applet/sc/PcscEid.java).

Actions #1

Updated by Heiko Adams over 11 years ago

Als Workaround kann man java den Parameter

-Dsun.security.smartcardio.library=
gefolgt vom Pfad der libpcsclite.so.1 übergeben, damit die App wieder funktioniert.

Den Pfad kann man z.B. über

whereis libpcsclite.so.1

herausbekommen.

Actions #2

Updated by Tobias Wich over 11 years ago

  • Status changed from In Progress to Review
Actions #3

Updated by Johannes Schmölz over 11 years ago

  • Status changed from Review to Closed
  • Reviewer set to Johannes Schmölz
Actions

Also available in: Atom PDF