Hi,

On Sun, Feb 10, 2008 at 10:38:05PM +0100, Andrzej Zięba wrote:
> Package: athcool
> Version: 0.3.11-1.1
> 
> I have built the package from sources and I got executable that does not 
> need the libpci2. The problem is that the package does not build from 
> the sources without a problem. I had to add -lz to the LIBS variable in 
> the makefile to make it link properly.

Thanks, but I don't think this is the correct way to solve this problem.
Athcool does not by itself use (any symbol from) libz; only libpci does.
As long as libpci was available as a shared library, it was no problem, 
since shared libraries support dependencies. But for some reason, the 
pciutils maintainer has decided not to distribute this shared library 
anymore. The side effect is that the programs that want to use libpci 
now are supposed to "guess" what libraries libpci requires. I don't 
think this is correct.

Fortunately, pciutils' upstream provide a libpci.pc pkgconfig file that 
can be used to find the correct dependencies for libpci. But for some 
reason the maintainer for pciutils does not distribute this file.

Hence, I think the maintainer for pciutils should distribute this file 
in the pciutils-dev package (see bug #403181), and then I can use 
pkgconfig to generate the correct dependencies for athcool.


Cheers,

Nicolas


Reply via email to