Comment 12 for bug 949912

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 949912] Re: libpcsclite1 is not compatible with multiarch

On Fri, Apr 13, 2012 at 07:26:00AM -0000, Reinhard Tartler wrote:
> The change for this task is not complete yet. The libpcsclite-
> dev_1.7.4-2ubuntu2_amd64.deb installs a .la file with these contents:

> [...]
> # Directory that this library needs to be installed in:
> libdir='/usr/lib'

> That directory is wrong. Either it should read correctly, ot this file
> should be removed.

What, practically speaking, is the impact of this field being wrong here?
I don't think it's correct to say that libpcsclite1 is still "not compatible
with multiarch". Shouldn't this be tracked as a new bug?

On Fri, Apr 13, 2012 at 03:21:54PM -0000, Reinhard Tartler wrote:
> Also, I think the .pc file is wrong:

> >> grep '/lib' /usr/lib/x86_64-linux-gnu/pkgconfig/libpcsclite.pc
> prefix=/usr
> libdir=${exec_prefix}/lib
> usbdropdir=/usr/lib/pcsc/drivers

> Obviously, libdir need to be adjusted.

> Moreover, I think the usbdropdir should be moved in order to allow pcsc
> drivers for different architectures to be installed.

It probably should, yes, but that's a secondary issue. So far no one has
been asking for multiarch usability of libpcsclite1, only installability.