Comment 1 for bug 664007

Revision history for this message
Doug Engert (deengert) wrote :

I agree with Ludovic that the Ubuntu decision to relocate libpcsclite.so from /usr/lib to /lib was made to address
a linking problem with wpa_supplicant, without regard to the effects it would have on the rest of the
applications that use libpcsclite.so. The fix only solved the linking problem, it did not allow libpcsclite.so
to be used, as it needs to communicate with pcscd that still depends on /usr/lib.

There appears to be a number of solutions:

  (1) leave libpcsclite.so in /usr/lib and have wpa_supplicant use dlopen as suggested above, as it
       appearently does not need the library when loaded witout /usr being present.

  (2) Move libpcsclite.so to /lib, but also install symlinks from /usr/lib.

  (2a) If there is a need to have wpa_supplicant actually use libpcsclite.so without /usr being mounted,
         then pcscd and whatever else it depends on also needs to be move from /usr.