On Fri, Apr 13, 2012 at 18:38:00 (CEST), Ludovic Rousseau wrote:
> Debian has version 1.8.3-2 of pcsc-lite and do not have these problems.
>
> $ grep lib /usr/lib/i386-linux-gnu/pkgconfig/libpcsclite.pc
> libdir=${prefix}/lib/i386-linux-gnu
> usbdropdir=/usr/lib/pcsc/drivers
> Libs: -L${libdir} -lpcsclite
>
> libpcsclite-dev do not provide any .la file
>
> Maybe Ubuntu could upgrade pcsc-lite to the latest version.
>
> Also, do not touch to usbdropdir unless you know EXACTLY what you are doing. And I guess you don't.
> You can't install drivers for different architecture. You don't need
> that (unless you use a proprietary driver only available for 1
> architecture). Also note that only one pcscd can be used at the same
> time.
OK, I will not touch this.
Still, imagine that I have an proprietary application that is only
available as _i386.deb and links against libpcsc-lite. So with
multi-arch, I can install it and it will use the i386 version of
pcsc-lite. However, that proprietary application will not be able to use
the amd64 versions of my free driver that is installed in
/usr/lib/pcsc/drivers.
AFAIUI, the proper solution here would be to make pcscd search in
/usr/lib/pcsc/drivers/$(DEB_HOST_MULTIARCH).
On Fri, Apr 13, 2012 at 18:38:00 (CEST), Ludovic Rousseau wrote:
> Debian has version 1.8.3-2 of pcsc-lite and do not have these problems. i386-linux- gnu/pkgconfig/ libpcsclite. pc ${prefix} /lib/i386- linux-gnu /usr/lib/ pcsc/drivers
>
> $ grep lib /usr/lib/
> libdir=
> usbdropdir=
> Libs: -L${libdir} -lpcsclite
>
> libpcsclite-dev do not provide any .la file
>
> Maybe Ubuntu could upgrade pcsc-lite to the latest version.
>
> Also, do not touch to usbdropdir unless you know EXACTLY what you are doing. And I guess you don't.
> You can't install drivers for different architecture. You don't need
> that (unless you use a proprietary driver only available for 1
> architecture). Also note that only one pcscd can be used at the same
> time.
OK, I will not touch this.
Still, imagine that I have an proprietary application that is only pcsc/drivers.
available as _i386.deb and links against libpcsc-lite. So with
multi-arch, I can install it and it will use the i386 version of
pcsc-lite. However, that proprietary application will not be able to use
the amd64 versions of my free driver that is installed in
/usr/lib/
AFAIUI, the proper solution here would be to make pcscd search in pcsc/drivers/ $(DEB_HOST_ MULTIARCH) .
/usr/lib/
Do I miss something here?
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4