libvisual cannot be found by pkg-config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvisual (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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
thank you for your bug. That's not a bug, the new libvisual version seems to be version, gstreamer does use "libvisual-0.4" correctly, the application you try to build should be updated probably