dependencies in different locations
yanyan_1337 at yahoo.com
Sun Mar 22 10:17:56 PDT 2009
How can i make pkg-config look for a package's dependencies in /usr/lib/pkgconfig if they can't be found in /usr/local/lib/pkgconfig? And vice versa?
I have the following:
Cairo requires fontconfig and i get an error saying that fontconfig can't be found. If i make a symlink to /usr/lib/pkgconfig/fontconfig.pc from /usr/local/lib/pkgconfig/, configure can continue.
The reverse case is where a dependency is found in /usr/local/lib/pkgconfig and i have to make a symlink from /usr/lib/pkgconfig to allow configure to finish.
PKG_CONFIG_PATH is /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/kde/lib/pkgconfig
Is it really pkg-config's behavior to only look for a package's dependencies in the same directory and fail if it isn't there?
More information about the pkg-config