[Pcsclite-muscle] can't "make" ccid on Ubuntu 14.04.4 LTS

John Simpson john_simpson
Mon Jun 27 06:26:57 PDT 2016

> Do you plan to submit it using
> https://pcsclite.alioth.debian.org/ccid.html#CCID_compliant ?

No.  This card reader is built in to our product.  We have a license
agreement with HID for the design.  It is not going to be resold separate
from our product.  I added the product info to
readers/supported_readers.txt before running ./configure.

Why don't you use "./configure" without extra arguments?

I tried that first.  I don't know why all of the options were necessary:

# ./configure
configure: error: install pcsc-lite 1.8.3 or later, or use ./configure

# apt-cache policy pcscd
  Installed: 1.8.10-1ubuntu1
  Candidate: 1.8.10-1ubuntu1

# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
configure: error: libusb.h not found, install libusb or use ./configure

# find / -name libusb.h

# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
checking for libusb_init... configure: error: libusb not found, use
./configure LIBUSB_LIBS=...

# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
LIBUSB_CFLAGS=-I/usr/include/libusb-1.0 LIBUSB_LIBS=-lusb-1.0
./configure: line 13890: libpcsclite: command not found
configure: error: use --enable-usbdropdir=DIR

# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/pcsc/drivers
./configure: line 13939: libpcsclite: command not found
checking for SCardEstablishContext... configure: error:
SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta9 or
later,or use PCSC_LIBS=...  ./configure

# PCSC_LIBS="-L/lib/i386-linux-gnu -lpcsclite" ./configure
PCSC_CFLAGS=-I/usr/include/PCSC LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/pcsc/drivers

That brings me to "make":
# make
/usr/bin/ld: parse-ccid_usb.o: undefined reference to symbol
//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing
from command line


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160627/59c09274/attachment.html>

More information about the pcsclite-muscle mailing list