[Interest] [5.6] 32bits build of qtwebengine and pkg-config issues on Ubuntu-16.04-x86_64

Thiago Macieira thiago.macieira at intel.com
Sun Jan 7 14:27:39 CET 2018


On Sunday, 7 January 2018 07:05:54 CST Konstantin Tokarev wrote:
> > Ah, that's an interesting situation. The difference between those two pkg-
> > config is where they find their .pc files: one searches the 32-bit
> > /usr/lib
> > and the other the 64-bit one. You can use the 64-bit pkgconfig, but you
> > need to make sure that every 32-bit devel package you have also has the
> > corresponding 64-bit one so the .pc file will be found.
> 
> Wouldn't setting PKG_CONFIG_PATH be a better solution?

You need to set PKG_CONFIG_LIBDIR too, probably. Please test: the big 
difference will be whether the 64-bit pkg-config suppresses the -L option with 
the 32-bit libdir. If it prints -L/usr/lib (or equivalent), you may have build 
errors.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list