RE: Removing pthread from coolkey?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



G'day,

>> However, I need to add -lpthread to the src/coolkey/Makefile so that 
>> any application that uses coolkey and syslog will not hang during the

>> C_Initialize() call (for reference, a futex() call blocks, which I 
>> assume is in pcsc-lite?).
>>
> That's definately in pcsc-lite. Are you running on RHEL 4?

I'm using RHEL ES 4.0, pcscslite-1.4.0, ccid-1.2.1, and coolkey-1.1.0,
although the same problem occurred with earlier versions of pcsclite and
ccid.

Attached is the code I used to load the PKCS#11 library and call
syslog(), C_Initialize(), and C_Finalize().

I added a AC_CHECK_LIB(pthread, ...) line to configure.in to work around
the issue. libpcsclite.so is already dependent on libpthread.so, and I
needed to make libcoolkeypk11.so dependent on libpthread.so also.

I'll try a RHEL 4.0.x version and see if I get the same problem...

-- Geoff


Attachment: test_pkcs11_syslog.c
Description: test_pkcs11_syslog.c

_______________________________________________
Coolkey-devel mailing list
Coolkey-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/coolkey-devel

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Women]

  Powered by Linux