Skip to content
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

./configure failed for OpenSC on Ubuntu 20.04 #2479

Closed
nshah2588 opened this issue Jan 5, 2022 · 2 comments
Closed

./configure failed for OpenSC on Ubuntu 20.04 #2479

nshah2588 opened this issue Jan 5, 2022 · 2 comments

Comments

@nshah2588
Copy link

Problem Description

./configure command doesn't work without errors

Proposed Resolution

I don't know how to do this:

Perhaps you should add the directory containing `libeac.pc'
to the PKG_CONFIG_PATH environment variable

Steps to reproduce

Follow the steps to first download opensc and then run sudo ./configure after extraction of the file

Logs

<script src="https://gist.github.com/nshah2588/bc1f6e62415de4fe53ba080cff566120.js"></script>
@popovec
Copy link
Member

popovec commented Jan 5, 2022

install all the packages you need to build opensc:

sudo apt-get  build-dep opensc

@Jakuje
Copy link
Member

Jakuje commented Jan 16, 2022

The OpenSC dependencies are described in the Wiki: https://github.com/OpenSC/OpenSC/wiki/Compiling-and-Installing-on-Unix-flavors. The libeac is not mandatory and opensc works just fine without that. The error you got is

configure: error: winscard.h is required for pcsc

which is the missing pcsc-lite. You can install it on ubuntu as already suggested by @popovec.

There is nothing more we could do for you.

@Jakuje Jakuje closed this as completed Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants