Re: [linux-minidisc] (Building) libusb-1.0(.9) not found?


Apple does not ship pkg-config by default - hence, I build it myself:

Ingwie@ingwies-air ~/tmp $ which pkg-config
/usr/local/bin/pkg-config

So, it should search the other paths too, right? I mean…

Ingwie@ingwies-air ~/tmp $ pkg-config libusb-1.0 --modversion
1.0.9

o.o; I’m a bit clueless here.
Am So. Jan. 12 2014 13:06:00 schrieb John Paul Adrian Glaubitz:

> On 01/12/2014 01:01 PM, Kevin Ingwersen wrote:
>> libusb-1.0.pc <---
>> osxfuse.pc
>> 
>> It’s there, as libusb-1.0. Now, why isn’t it being found? o.o...
> 
> There might be two versions of pkg-config on your machine. One from
> Apple being installed into /usr/bin and one in /usr/local/bin and
> the former before the latter in your $PATH variable. And the
> version in /usr/bin might not search in /usr/local/lib/pkgconfig
> but /usr/lib/pkgconfig.
> 
> What does `which pkg-config` say? Also, check the documentation
> of pkg-config to find out how to set the search paths for package
> config files.
> 
> Adrian