On 12/15/2009 09:28 PM, al...@verizon.net wrote:
>
> Hello,
>
> In the process of building Xorg-7.5 (from 7.4)
> I stumbled upon something odd.
> For a couple of packages their 'pc' files ended up
> in '/usr/share/pkgconfig' instead of the tried and true
> '/usr/lib/pkgconfig'.
> Specifically, in '/usr/share/pkgconfig' I now have:
> udev-149 (independently, of course) and
> xtrans-1.2.5 (of the Xorg-7.5 lib).
>
> The previous 'xtrans' (1.2.1 - of the Xorg-7.4)
> was placed, together with all the others,
> in '/usr/lib/pkgconfig/'.
>
> If no mistakes on my part on this subject,
> this will cause errors for some packages
> looking in the wrong place.
>
> Is this a trend?
>
> If I'm right, I have to add
> '/usr/share/pkgconfig' somewhere.
> What should be the order in PKG_CONFIG_PATH:
> /usr/lib/pkgconfig ... /usr/share/pkgconfig
> or
> /usr/share/pkgconfig ... /usr/lib/pkgconfig?
>

First, it doesn't matter what order, unless there are duplicate files in 
both directories. Second, as noted in the manpage, /usr/lib/pkgconfig 
and /usr/share/pkgconfig are both searched by default anyway so they 
don't need to be in PKG_CONFIG_PATH.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to