[Pcsclite-muscle] Compiling CCID driver on El Capitan

Nikolay Spassov nicksp at gmail.com
Sat Oct 24 12:15:02 UTC 2015


I was able to resolve the error by cloning the git repo and updating submodules as described here: https://www.nitrokey.com/forum/viewtopic.php?f=13&t=1500#p8480


> On 24.10.2015, at 13:46, Nikolay Spassov <nicksp at gmail.com> wrote:
> 
> 
> Hi everyone,
> 
> I am trying to get Nitrokey Pro working on El Capitan.
> 
> Initially I installed OpenSC 0.15.0 since that worked on Yosemite but looks like on El Capitan things are different.
> 
> I also have
> $ /usr/local/sbin/pcscd -v
> pcsc-lite version 1.8.14
> Enabled features: MacOS x86_64-apple-darwin15.0.0 serial usb usbdropdir=/usr/local/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/usr/local/etc/reader.conf.d
> 
> However, ps aux gives me this:
> 
> $ ps aux | grep pcscd | grep -v grep
> root              141   0,0  0,0  2516572   3520   ??  Ss   12:49pm   0:00.02 /System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd
> 
> i.e. looks like Apple's pscsd is running? I can’t tell if there is an issue.
> 
> I got the CCID-1.4.21 source. ./bootstrap and ./configure went fine but then I got this error:
> 
> ~/ccid-1.4.21$ make
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
> Making all in readers
> make[2]: Nothing to be done for `all'.
> Making all in examples
>  CC       scardcontrol-PCSCv2part10.o
>  CCLD     scardcontrol
> clang: warning: argument unused during compilation: '-pthread'
> clang: warning: argument unused during compilation: '-pthread'
> clang: warning: argument unused during compilation: '-pthread'
> Undefined symbols for architecture x86_64:
>  "_SCardControl132", referenced from:
>      _main in scardcontrol-scardcontrol.o
>      _PCSCv2Part10_find_TLV_property_by_tag_from_hcard in scardcontrol-PCSCv2part10.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [scardcontrol] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> I have the dependencies installed via brew:
> $ brew list
> autoconf	automake	libtool		libusb		openssl		pkg-config
> 
> 
> Any pointers will be appreciated!
> 
> I want to publish a step-by-step guide for Nitrokey with El Capitan after I get it running.
> 
> Best regards,
> Nikolay
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4103 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20151024/b3a8d613/attachment.bin>


More information about the Pcsclite-muscle mailing list