On Tue, Jun 13, 2006 at 08:50:11AM -0400, Edward M. Kutrzyba III wrote:
> Still no joy. But I did find something. If I launch firefox in a
> terminal, then try to access the smartcard, Firefox crashes with this
> message:
>
> /usr/lib/firefox/firefox-bin: symbol lookup error:
> /usr/lib/pcsc/services/commonAccessCard.bundle/Contents/Linux/commonAccessCard:
>
> undefined symbol: SCardTransmit
Oh good, it is just a link problem. I forgot to tell you (doh, sorry)
to run the "ldd -d" link test on not just libmusclepkcs11, but on the
commonAccessCard object as well. You probably missed something on the
link line. From my notes:
4. Grab the Apple SmartCardServices source. I downloaded what appears
to be the latest version:
http://darwinsource.opendarwin.org/tarballs/apsl/SmartCardServices-26777.tar.gz
I did not patch it. Many of the patches on airborne are already
applied. Some of them are not, however it seems to work, so I ain't
touching it.
Go into the src/CACPlugin directory and compile:
gcc -c -shared -I/usr/include/PCSC commonAccessCard.c
gcc -shared -o commonAccessCard.so commonAccessCard.o -lz -lmusclecard
Create pcsc/services/commonAccessCard.bundle/Contents. Copy
commonAccessCard.so to Contents/Linux/commonAccessCard. You also need
a Contents/Info.plist. I don't know why SmartCardServices-26777
doesn't include it, but you can download SmartCardServices-15 instead
and copy installPhase/services/Info.plist.commonAccessCard to
Info.plist.
Andrew
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle