From owner-freebsd-questions@FreeBSD.ORG Thu Oct 26 22:54:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB67D16A403 for ; Thu, 26 Oct 2006 22:54:38 +0000 (UTC) (envelope-from vkushnir@i.kiev.ua) Received: from horse.iptelecom.net.ua (horse.iptelecom.net.ua [212.9.224.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 660AF43D66 for ; Thu, 26 Oct 2006 22:54:28 +0000 (GMT) (envelope-from vkushnir@i.kiev.ua) Received: from h104.244.159.dialup.iptcom.net ([213.159.244.104]:29392 "EHLO kushnir1.kiev.ua" ident: "SOCKFAULT1" whoson: "vkushnir") by horse.iptelecom.net.ua with ESMTP id S1222874AbWJZWy0 (INRCPT ); Fri, 27 Oct 2006 01:54:26 +0300 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [10.0.0.1]) by kushnir1.kiev.ua (8.13.8/8.13.8) with ESMTP id k9QMq2dP014984; Fri, 27 Oct 2006 01:52:02 +0300 (EEST) (envelope-from vkushnir@i.kiev.ua) Date: Fri, 27 Oct 2006 01:52:02 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: "Tuc at T-B-O-H.NET" In-Reply-To: <200610262237.k9QMbajt083488@himinbjorg.tucs-beachin-obx-house.com> Message-ID: <20061027014630.W2344@kushnir1.kiev.ua> References: <200610262237.k9QMbajt083488@himinbjorg.tucs-beachin-obx-house.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Problems compiling : libtool: link: cannot find the library `/usr/X11R6/lib/libpangocairo-1.0.la' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 22:54:38 -0000 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