On 4/27/05, Geoffrey Elgey <[EMAIL PROTECTED]> wrote:
> So: is adding "-lmusclecard" required, or have I screwed up the
> configuration and/or installation of muscle components?

Very strange.
muscleframework-1.1.5/libmusclepkcs11/src/Makefile.am contains:
libmusclepkcs11_la_LDFLAGS = -version-info 0:1:0 -lpthread -lcrypto -lmusclecard
so you should not have to add -lmusclecard since it is already there.

> As an aside, even though libpkcs11.so can now be loaded, it still fails
> to be loaded by opensc's pkcs11-tool:

I have:
ldd -r libmusclepkcs11.so.0.0.1
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40026000)
        libmusclecard.so.1 => /usr/lib/libmusclecard.so.1 (0x40036000)
        libpcsclite.so.1 => /usr/lib/libpcsclite.so.1 (0x4003d000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x4004b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4014a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0x4027e000)
undefined symbol: MSCCallbackCancelEvent        (./libmusclepkcs11.so)
undefined symbol: MSCCallbackForTokenEvent      (./libmusclepkcs11.so)

So depending on opensc dlopen() flag (RTLD_LAZY or RTLD_NOW) the
dynamic load and link may fail. Just add #define USE_THREAD_SAFETY in
libmusclecard/src/musclecard.c (see CVS version, this is already
corrected).

1. When you report a bug, please, give us the software version you are using.
2. if you are not using the CVS version, then try it to check if the
bug is not already known and corrected in CVS.

Bye,

-- 
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not "big brother" Google

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

Reply via email to