Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la'

Vladimir Kushnir vkushnir at i.kiev.ua
Thu Oct 26 22:54:38 UTC 2006



On Thu, 26 Oct 2006, Tuc at T-B-O-H.NET wrote:

> Hi,
>
> 	Trying to compile wireshark (Which I had running
> previously) and I get :
>
> libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' or unhandled argument `/usr/X11R6/lib/libpangocairo-1.0.la'
>
> 	The reason it can't find it is its in /usr/local/lib
> now. But why is wireshark thinking its in /usr/X11R6/lib? I
> saw something about GNOME trying to change the location of libraries,
> but I don't know what it is that might be telling it the wrong
> location.
>
> 	Thanks, Tuc

You've got some pre-GNOME-2.16 librar{y/ies} which references 
/usr/X11R6/lib/libpangocairo-1.0.la. Just check which one (I had some 
non-port and had to use grep: 
grep -l /usr/X11R6/lib/libpango `find /usr/X11R6/lib /usr/local/lib -name 
"*.la"`
) and reinstall it. BTW, you can get this error with other libs (GTK2, 
for one) as well.

Hope this helps,
Vladimir


More information about the freebsd-questions mailing list