beautypg.com

Pcsc-perl-1.4.6 – Maxim Integrated 73S1217F CCID USB Linux Driver User Manual

Page 9

background image

UG_12xxF_041

73S1215F, 73S1217F CCID USB Linux Driver Installation Guide

Rev. 1.00

9


To copy the new shared library, enter the following:

cd /usr/local/pcsc/drivers/ifd-ccid.bundle/
cp -v Contents/Linux/libccid.so.1.2.1/usr/local/lib/ /sbin/ldconfig -v |grep ccid

This sequence of commands installs the new shared library in a system recognized location and add it to
the system search list.

root@slack:/usr/local/src/CCID/pcsc-lite-1.4.0# cd
/usr/local/pcsc/drivers/ifd-ccid.bundle/
root@slack:/usr/local/pcsc/drivers/ifd-ccid.bundle# cp -v Contents/
Linux/libccid.so.1.2.1 /usr/local/lib/
`Contents/Linux/libccid.so.1.2.1' -> `/usr/local/lib/libccid.so.1.2.1'
root@slack:/usr/local/pcsc/drivers/ifd-ccid.bundle# /sbin/ldconfig -v |grep
ccid
libccid.so.0 -> libccid.so.1.2.1 (changed)

3.4.3 pcsc-perl-1.4.6

root@slack:/usr/local/pcsc/drivers/ifd-ccid.bundle#

This section uses Perl to drive the installation of the package. Change to the pcsc-perl directory:

cd /usr/local/src/CCID/pcsc-perl-1.4.6


The README.Unix file contains the following:

root@slack:/usr/local/src/CCID/pcsc-perl-1.4.6# cat README.Unix


To build the wrapper for Unix:

$ perl Makefile.PL
$ make


Insert a smart card in the (first) PCSC reader.

$ make test
$ sudo make install


$Id: README.Unix,v 1.6 2006-08-12 17:35:49 rousseau Exp $
root@slack:/usr/local/src/CCID/pcsc-perl-1.4.6#

Install the package using Perl according to the above README:

perl Makefile.pl

make


This step has created another shared library: PCSC.so

At this point, make test, per the README.Unix file, will fail since the daemon is running yet.

Do not install a smart card. Enter:

make test

make install

This manual is related to the following products: