-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libopensc.so not found when using non-default install prefix #2923
Comments
I regularly build OpenSC on against multiple versions of OpenSSL and set Also do the same when building OpenSSL, libp11 and any other packages that are installed into these /opt directories. |
use LD_LIBRARY_PATH=/usr/local/lib or edit your /etc/ld.so.conf accordingly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
Building from source and installing with a non-default prefix such as /usr/local makes the binaries (at least pkcs11-tool) not link properly to the libopensc.so library. libopensc.so is properly installed to /usr/local/lib. Adding symbolic links to /usr/lib, /usr/lib64 and /usr/local/bin does not help.
Using the default prefix /usr works properly.
Tested on Rocky Linux 8
Proposed Resolution
Steps to reproduce
Logs
(note: not the exact print since reconfiguring and rebuilding opensc cleared the terminal history, recreated from memory)
The text was updated successfully, but these errors were encountered: