Description of problem: Header files distributed with PKCS#11 v2.30 define all functions as extern and some applications (like BIND 9.10) do not work without all functions being exported. Version-Release number of selected component (if applicable): opensc-0.15.0-2.fc23 How reproducible: 100 % Steps to Reproduce: 0. configure PKCS#11 provider of your choice and try to use it with pkcs11spy & BIND-pkcs11 build 1. $ yum install bind-pkcs11-utils 2. $ export PKCS11_PROVIDER=/usr/lib64/pkcs11/pkcs11-spy.so 3. $ export PKCS11SPY=/path/to/your/pkcs11/provider.so 4. $ pkcs11-list Actual results: pkcs11-list does not work Expected results: pkcs11-list does work Additional info: This was fixed upstream in https://github.com/OpenSC/OpenSC/pull/590 This change would be tremendously useful for DNSSEC debugging in FreeIPA.
There is some difference in 0.15.0 and their current master. Could you test the rawhide build if it addresses your issue? http://koji.fedoraproject.org/koji/taskinfo?taskID=11903680
Scratch build for f23: https://koji.fedoraproject.org/koji/taskinfo?taskID=11951117
For the sake of testing, I re-built the code in Fedora git branch f23 and it works for my use cases. Feel free to push it to Fedora whenever it suits you.
opensc-0.15.0-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-30b36854a0
opensc-0.15.0-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-30b36854a0
opensc-0.15.0-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.