brew install pcsc-lite
/opt/homebrew/opt/pcsc-lite/sbin/pcscd -fd
Also if you launch :
/opt/homebrew/opt/pcsc-lite/sbin/pcscd --version
You can see it :
pcsc-lite version 2.1.0.
Copyright (C) 1999-2002 by David Corcoran <corcoran@musclecard.com>.
Copyright (C) 2001-2022 by Ludovic Rousseau <ludovic.rousseau@free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron@labri.fr>.
Report bugs to <pcsclite-muscle@lists.infradead.org>.
Enabled features: MacOS aarch64-apple-darwin23.4.0 serial usb usbdropdir=/opt/homebrew/Cellar/pcsc-lite/2.1.0/lib/pcsc/drivers
[[[[[ipcdir=/run/pcscd]]]<---- wrong path
filter configdir=/opt/homebrew/etc/reader.conf.d
MAX_READERNAME: 128, PCSCLITE_MAX_READERS_CONTEXTS: 16
also in the changelog
it appeas to be change from 2020
1.9.0: Ludovic Rousseau
14 June 2020
- SCardEndTransaction(): greatly improve performances (x300)
- tokenparser: accept any Unicode character in a reader name
- Use /run instead of /var/run by default
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I'm trying to use pcsc-lite daemon via a golang program. I want to install pcsc-lite and launch pcscd -fd
What happened (include all command output)?
brew install pcsc-lite /opt/homebrew/opt/pcsc-lite/sbin/pcscd -fd
What did you expect to happen?
00000000 [0x1d9511c40] debuglog.c:394:DebugLogSetLevel() debug level=debug 00000166 [0x1d9511c40] pcscdaemon.c:632:main() cannot create /run/pcscd: No such file or directory
According to (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247719) it is suggested to add the ipc path argument at configuration time.
Step-by-step reproduction instructions (by running
brew
commands)