Le 05/06/09 22:17, Ludovic Rousseau a écrit :
Colin Watson a écrit :
Package: libpcsclite1
Version: 1.5.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

We currently ship wpa_supplicant in /sbin so that it can be used early
in the boot process. However, it links against libpcsclite.so.1 which is
in /usr/lib. This breaks things for people with a separate /usr.

Would you consent to moving this library to /lib? The attached patch
implements this change.

I don't think that is the correct solution to the problem.
Moving the library to /lib will allow moving wpa_supplicant in /sbin but
wpa_supplicant will not be able to work with smart card support.
libpcsclite needs to communicate with the pcscd daemon. This daemon is
in /usr/sbin/ and is linked with libhal (and other libs). I don't think
you plan to move libhal (and its dependencies) in /lib.

The correct way to solve this problem is to use dlopen() in
wpa_supplicant and use libpcsclite.so.1 only when needed/requested.

I looked at the wpa_supplicant code and the needed code is already
present. It is in the file wpasupplicant-0.6.9/src/utils/pcsc_funcs.c
Dynamic loading is used in case of __MINGW32_VERSION. I include a simple
patch to use loading at runtime even on Linux.

I have not tested the patch. I have just tested that the compilation
works and that the resulting binary is no more linked with
libpcsclite.so.1.


I think this bug should be reassigned to wpasupplicant, and my patch
sent to wpasupplicant upstream for review.

See also http://ludovicrousseau.blogspot.com/2010/10/pcsc-lite-upgrade-and-ubuntu-special.html

The way Ubuntu installs pcsc-lite has impacts for users upgrading pcsc-lite the "normal" way.

Please (re)consider updating wpa_supplicant instead of pcsc-lite.

Bye

--
 Dr. Ludovic Rousseau



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to