Public bug reported:
Binary package hint: libvisual-0.4-dev
Programs that use pkg-config to locate libvisual (such as ProjectM) will
not build correctly. The symptom is that the configure script fails
saying it cannot find the library, even though it is installed.
The reason for the failure is because pkg-config is unable to locate the
library. You can see this by typing:
$ pkg-config --print-errors libvisual
Package libvisual was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvisual.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvisual' found
$ echo $?
1
The problem is that the version number is embedded in the pkg-config
file. Here is my workaround:
$ cd /usr/lib/pkgconfig
$ sudo ln -s libvisual-0.4.pc libvisual.pc
Now it works correctly:
$ pkg-config --print-errors libvisual
$ echo $?
0
** Affects: libvisual (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
libvisual cannot be found by pkg-config
https://launchpad.net/bugs/73170
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs