Bug#779282: libitpp-dev: Bad information in itpp.pc

Kumar Appaiah a.kumar at alumni.iitm.ac.in
Fri Feb 27 01:16:33 UTC 2015


Hi.

On Thu, Feb 26, 2015 at 03:48:52PM +0100, Guillaume Serrière wrote:
> Package: libitpp-dev
> Version: 4.3.1-3
> Severity: normal
> 
> Dear Maintainer,
> I'm a developper on the OpenViBE project which use the itpp library. During the compilation,
> we use pkg-config to get the path to libraries we use to make the linkage of our plugins. 
> In Jessie, the libitpp.so is install under /usr/lib/x86_64-linux-gnu, however, we get the following stuff:
> 
> $ pkg-config --variable=libdir itpp
> /usr/lib
> 
> This command should return the right path to the library (/usr/lib/x86_64-linux-gnu).

Thanks for the bug report. Indeed, it prints out /usr/lib, but that is
where a symbolic link lies to the actual library. So, if you use
the pkg-config libdir to link, you will be successful. Using the
pkg-config directory to find out where to install is not a good idea,
IMHO. The x86_64-linux-gnu is a side-effect of multiarch, so you might
have to use the same multiarch approach if your plugins are libraries,
so that they are moved to the right directory during the install process.

Please let me know if I can help further, or I have misunderstood something.

Thanks.

Kumar
-- 
Kumar Appaiah



More information about the debian-science-maintainers mailing list