Wednesday, May 7, 2014

pkg_config libvala problem

Today I resolved error when compiling monodevelop from git source, that need libvala-0.12 or higher. But when I installed libvala-0.22 and try to ./configure there is error appear, it said that libvala-0.12 not found. :-(

No package 'libvala-0.12' found

Then I googling but nothing result to solve, but I figure it out pkg_config is program that extract information from *.pc about installed library. Then I find libvala-0.22.pc in my Ubuntu OS.

amru@blackstar:/usr/lib/x86_64-linux-gnu$ sudo find / -iname *.pc | grep libvala
/usr/lib/x86_64-linux-gnu/pkgconfig/libvala-0.22.pc

Got it, then I create soft link using "ln" command,

amru@blackstar:/usr/lib/x86_64-linux-gnu$ sudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/libvala-0.22.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libvala-0.12.pc

VIOLA, ./configure work prefect :D.

No comments:

Post a Comment