Bug 1315005

Summary: fail to load PC/SC library from java
Product: [Fedora] Fedora Reporter: aannoaanno
Component: pcsc-liteAssignee: Bob Relyea <rrelyea>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: aannoaanno, klember, ludovic.rousseau+fedoraproject, ludovic.rousseau, nmavrogi, rrelyea
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-07 08:46:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description aannoaanno 2016-03-05 15:10:51 UTC
Description of problem:
fail to load PC/SC library from java

Version-Release number of selected component (if applicable):
GlobalPlatformPro v0.3.4
Running on Linux 4.4.3-300.fc23.x86_64 amd64, Java 1.8.0_74 by Oracle Corporation

How reproducible:
Oracle Java is failing to load libpcsclite in fedora 23. For example running 'java -jar gp.jar -list' [1] results in:
java.io.IOException: No PC/SC library found on this system

To workaround:
sudo ln -s /usr/lib64/libpcsclite.so.1 /usr/lib64/libpcsclite.so

[1] https://github.com/martinpaljak/GlobalPlatformPro

Additional info:
same bug as #910107 but for fedora 23

Comment 1 Ludovic Rousseau 2016-03-05 17:40:08 UTC
This is very old bug from the Oracle JVM. The bug is in the JVM, not pcsc-lite.

See http://ludovicrousseau.blogspot.fr/2013/03/oracle-javaxsmartcardio-failures.html for example.