>Please can anybody help me, im still getting same error while running my muscleTools 
>and my make is like this
>$ make
>gcc -g -Wall  -lmusclecard -lpthread   muscleTool.c   -o muscleTool
>/usr/bin/ld: cannot find -lmusclecard
>collect2: ld returned 1 exit status
>make: *** [muscleTool] Error 1


Where are your libraries installed? - Mine are in /local/pcsc/lib

/local/pcsc/lib/libmusclecard.so
/local/pcsc/lib/libmusclepkcs11.so

Here are the changes I made. Yours will changes based on the location.



>DESTDIR=/usr/local

DESTDIR=/local/pcsc

>CC = gcc

cc = gcc -I/local/pcsc/include/PCSC -I/local/pcsc/include 


>LIBS = -lpcsclite -lpthread

LIBS = -lpcsclite -lpthread -L/local/pcsc/lib


Also - is the library location specified in your /etc/ld.so.conf file?
Mt file  contains the directory 
        /local/pcsc/lib
I also executed /sbin/ldconfig afterwards.

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to