On Fri, 09 Jan 2009 23:19:30 +0100
Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote:

> Hello,
>
Hello again,

Thanks for your quick answer! :)
 
> If your program needs libpcsclite.so (and not libpcsclite.so.1) during 
> exection it is a bug in your program.
> 
> libpcsclite.so.1 provides a stable ABI (application binary interface)
> libpcsclite.so does not
>

Actually, I'm trying to use a python program (I don't know much about
python) which is using python-pyscard which in turn seems to require
libpcsclite.so instead of libpcsclite.so.1

I tested it by trying to run one of the example:

c...@einstein:~$ python 
/usr/share/doc/python-pyscard/examples/Examples/simple/getATR.py
Failed to dlopen libpcsclite.so: libpcsclite.so: cannot open shared
object file: No such file or directory!establishcontext failed:
-7fefffe3 Traceback (most recent call last): File
"/usr/share/doc/python-pyscard/examples/Examples/simple/getATR.py",
line 26, in <module> from smartcard.Exceptions import NoCardException
File "/var/lib/python-support/python2.5/smartcard/__init__.py", line
37, in <module> from smartcard.System import listReaders File
"/var/lib/python-support/python2.5/smartcard/System.py", line 27, in
<module> import smartcard.pcsc.PCSCReader File
"/var/lib/python-support/python2.5/smartcard/pcsc/PCSCReader.py", line
34, in <module> hcontext = PCSCContext().getContext() File
"/var/lib/python-support/python2.5/smartcard/pcsc/PCSCContext.py", line
52, in __init__ PCSCContext.instance =
PCSCContext.__PCSCContextSingleton() File
"/var/lib/python-support/python2.5/smartcard/pcsc/PCSCContext.py", line
39, in __init__ raise EstablishContextException( 'Failed to establish
context: ' + SCardGetErrorMessage(hresult) )

I was about to file a report for python-pyscard but noticed it was also
one of your packages, so I replied here.

Should I file a bug against python-pyscard instead?

> Regards,
> 
> -- 
>   Dr. Ludovic Rousseau

Thanks again for your help,

Best regards,

Chris

-- 
 ,''`.  Christopher `Physicman' Bodenstein <c...@physicman.net>
 : :' :  Physicman.Net     :   http://www.physicman.net/ 
 `. `'   Debian GNU/Hurd   :   http://www.debian.org/ports/hurd
   `-    The IPv6 Portal   :   http://www.ipv6tf.org/

Attachment: pgpxjImxCR5Pq.pgp
Description: PGP signature

Reply via email to