https://bugzilla.novell.com/show_bug.cgi?id=732911 https://bugzilla.novell.com/show_bug.cgi?id=732911#c0 Summary: Wrong packaging of pcsc-lite - impossible retrieve list of terminals in any popular JVM Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: demsey@users.sourceforge.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Problem has been appear after upgrade pcsc-lite from 1.6.6 to 1.7.2 I noticed that in pcsc-lite.spec 1.6.6 was comment in section %files # .so must be in the main package (#235773): %{_libdir}/*.so Sections %files, %files -n libpcsclite1 and %files devel from psc-lite.spec 1.6.6 %files %defattr(-,root,root) %doc %{_docdir}/{name} # .so must be in the main package (#235773): %{_libdir}/*.so %doc %{_mandir}/man?/*.* .. %files -n libpcsclite1 %defattr(-,root,root) %{_libdir}/libpcsclite.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc I don't know what was in #235773 I have unauthorized access. In next released version 1.7.2 comment: # .so must be in the main package (#235773): and next line: %{_libdir}/*.so was moved to section %files devel In effect symlink /usr/lib/libpcsclite.so (/usr/lib64/libpcsclite.so) are placed in pcsc-lite-devel rpm package It caused problem at invoking libpcsclite.so by JVM's In earlier version eg. 1.6.6 it was placed in pcsc-lite witch is required at run-time. Unfortunately as stay in https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/378294 JVM's use libpcsclite.so instead of libpcsclite.so.1 Reproducible: Always Steps to Reproduce: 1. install pcsc-lite and libpcsclite1 rpms in version 1.7.2 or above 2. Check ls -la /usr/lib/libpcsclite.so or ls -la /usr/lib64/libpcsclite.so JVM's can't call libpcsclite.so.1 so PCSC capable SmartCard readers don't work in java Actual Results: /usr/lib/libpcsclite.so appears after installation pcsc-lite-devel rpm Expected Results: /usr/lib/libpcsclite.so appears after installation libpcsclite1 rpm and for 1.8.0 and above /usr/lib/libpcscspy.so appears after installation libpcscspy0 rpm Proposed solution for 1.8.1 and above versions is use in pcsc-lite.spec .. %files -n libpcsclite1 %defattr(-,root,root) %{_libdir}/libpcsclite.so* %files -n libpcscspy0 %defattr(-,root,root) %{_libdir}/libpcscspy.so* .. instead of .. %files -n libpcsclite1 %defattr(-,root,root) %{_libdir}/libpcsclite.so.* %files -n libpcscspy0 %defattr(-,root,root) %{_libdir}/libpcscspy.so.* .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.