Comment 0 for bug 1503832

Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

Trying to build a library under click-ubuntu-sdk-15.04-armhf.
Library requires libpay2-dev to compile.
I have manually installed the package for armhf on the chroot using the "Maintain" option.

(click-ubuntu-sdk-15.04-armhf)root@beasty:/home/antti# dpkg-query -L libpay2-dev:armhf
   ...
/usr/lib/arm-linux-gnueabihf/pkgconfig/pay-2.pc

(click-ubuntu-sdk-15.04-armhf)root@beasty:/home/antti# pkg-config --debug --exists pay-2
Cannot open directory '/usr/local/lib/x86_64-linux-gnu/pkgconfig' in package search path: No such file or directory
  ...
Looking for package 'pay-2'
Looking for package 'pay-2-uninstalled'

(click-ubuntu-sdk-15.04-armhf)root@beasty:/home/antti# export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/
(click-ubuntu-sdk-15.04-armhf)root@beasty:/home/antti# pkg-config --exists pay-2 && echo $?
0