From owner-freebsd-gnome@FreeBSD.ORG Sat May 3 23:31:21 2014 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3410D74 for ; Sat, 3 May 2014 23:31:21 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A0201358 for ; Sat, 3 May 2014 23:31:21 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kp14so2850969pab.26 for ; Sat, 03 May 2014 16:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=soPd2UzEXHawUC8yIjg5jf7izl8OIt/eYMdeHNQW3ac=; b=Z6OzOLFYwt2Wu30p+yiiARZGrPO63xhq4qm0VqD5WOgSsvKsgiPn+CsZaWGBoFIr8q gIwyG0rNRYf6bXfFut76zpfHVQn6tYcHD0D7wOPzXExFgTXuXNKe/ZCOyuTdbm8HZwhr /1WIoC+TKXAhO/7dFY2d0x/1+r7MutwjvxdDV9lrD8FZpNMPuYhIB6nZLTLm2eQLxRlX xKL7EI9TLxWSSAZU3v7tXLHAjatEjL9LrLU/o8aScBwwVjKvrdsMfiSf9LWP8Xw3skKp 2L9q5DUEy8rYNHZ7rNbbslXbxmLrZjdbTcDmJ/iwOGNyR7FTtqF7vl053a7ksI4M0lK+ U1RQ== MIME-Version: 1.0 X-Received: by 10.66.251.233 with SMTP id zn9mr53411390pac.67.1399159880841; Sat, 03 May 2014 16:31:20 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.73.34 with HTTP; Sat, 3 May 2014 16:31:20 -0700 (PDT) In-Reply-To: <201405021500.s42F01PG039085@freefall.freebsd.org> References: <201405021500.s42F01PG039085@freefall.freebsd.org> Date: Sat, 3 May 2014 16:31:20 -0700 X-Google-Sender-Auth: w26huXjVp8Ek28V8rzyIcroGnLU Message-ID: Subject: Re: ports/189048: graphics/libchamplain: Shared object " libxml2.so.5" not found From: Kevin Oberman To: Toni Ballesta Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD GNOME Users X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2014 23:31:21 -0000 On Fri, May 2, 2014 at 8:00 AM, Toni Ballesta wrote: > The following reply was made to PR ports/189048; it has been noted by > GNATS. > > From: Toni Ballesta > To: bug-followup@FreeBSD.org, mustelator@yahoo.es > Cc: > Subject: Re: ports/189048: graphics/libchamplain: Shared object > "libxml2.so.5" > not found > Date: Fri, 02 May 2014 16:53:46 +0200 > > Hello. The shared libraries are this: > > % pkg shlib -R libxml2.so.5 > libxml2.so.5 is linked to by the following packages: > libchamplain-0.8.1_3 > i386-wine-1.6.2,1 > > And yes, he itself is looked but really doesn't need. The correctly is > deinstall completely (with package backup, better) before build. Thanks, > Tijl and Kevin! I doesn't need to rebuild that. > > The problem for this installation is solved, but the bug I don't know. > It is necessary to repair? > This is a common error I've seen from time to time in several ports. The fix is to always use libraries from the build directory when available and prefer these to those in /usr/local/lib.This can be rather tricky, though it is usually "just" matter of correctly ordering the -L arguments for the link. I'd guess that the problem is in "demos" since it links executables against libchamplin, but I am not a make expert and especially so when libtool is used. There is quite possily a standard way to deal with this and my wild guess would involve the definition of pkglibdir in demos/Makefile. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com