I tried to test the SCARD_AUTOALLOCATE bug with the testpcsc utility from pcsc-lite since it uses the autoallocate API, but it failed because pcsctun doesn't export all symbols it requires. I got the binary from building our pcsc-lite-1.5.5 in the build system. cendio@localhost:~> LD_BIND_NOW=1 ./testpcsc ./testpcsc: symbol lookup error: ./testpcsc: undefined symbol: SCardIsValidContext cendio@localhost:~> ldd testpcsc linux-vdso.so.1 => (0x00007fffa11fc000) libpcsclite.so.1 => /opt/thinlinc/lib64/libpcsclite.so.1 (0x00007f8528427000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f85281d4000) libc.so.6 => /lib64/libc.so.6 (0x00007f8527e76000) libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f8527bb0000) libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f85279aa000) /lib64/ld-linux-x86-64.so.2 (0x00007f8528632000) libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f852777a000) librt.so.1 => /lib64/librt.so.1 (0x00007f8527571000)
Fixed in 28710. Time reporting will be done on bug 4785.
Created attachment 516 [details] Patch for testpcsc Use the following patch for testpcsc.
Tested testpcsc (v1.5.5 + patch) within a thinlinc session using suisseID card and thinlinc build 4316. Works as expected.