pkg-config --exists fails but --list-all lists the package
I'm returning to linux after a several year hiatus and all is going more or less smoothly except for this one issue.
Running Debian Jessie on x64 with a few packages from stretch.
I'm trying to get pkg-config to recognize libgnomecanvas-2.0. Initially it didn't know about it at all, so I created a symlink:
jesse@anpanman-debian:~$ ls -l /usr/lib/pkgconfig/ | grep libgn
lrwxrwxrwx 1 root root 57 Jan 7 08:27 libgnomecanvas-2.0.pc -> /usr/lib/x86_64-linux-gnu/pkgconfig/libgnomecanvas-2.0.pc
This got it to be partially recognized, but --exists still refuses to acknowledge it:
$ pkg-config --exists libgnomecanvas-2.0
$ echo $?
1
$ pkg-config --modversion libgnomecanvas-2.0
2.30.3
$ pkg-config --list-all | grep libgnomecanvas-2.0
libgnomecanvas-2.0 libgnomecanvas-2.0 - libgnomecanvas
$ pkg-config --version
0.28
What am I missing to get --exists to acknowledge the package?
|