libvisual cannot be found by pkg-config

Bug #73170 reported by Courtney Rosenthal
6
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

Revision history for this message
Sebastien Bacher (seb128) wrote :

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

Changed in libvisual:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.