From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] gnu: kde: Add kdelibs. Date: Wed, 05 Nov 2014 14:28:12 -0600 Message-ID: <87ioitwfxf.fsf@gmail.com> References: <87tx2d2ykt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm7BV-0003pm-DS for guix-devel@gnu.org; Wed, 05 Nov 2014 15:28:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm7BN-0007KX-Tl for guix-devel@gnu.org; Wed, 05 Nov 2014 15:28:05 -0500 In-reply-to: <87tx2d2ykt.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix-devel , Federico Beffa Ludovic Courtès writes: > Federico Beffa skribis: > >> I'm working on dconf and I had the same problem: the produced binaries >> like dconf-edit, but even shared libraries produced by the build would >> not find their own companions. > > What build system does dconf use? > > Usually there’s no problem for packages that use Libtool (it sets the > RUNPATH automatically), but there’s almost systematically a problem when > CMake is used (we may not be passing the right options or something, as > Andreas notes.) Our cmake-build-system sets CMAKE_INSTALL_RPATH_USE_LINK_PATH=True, which will add the directory of a library given during link time to the executable or library's rpath. As was noted before, this is not helpful if the package does not put those libraries in the link line. It also sets CMAKE_INSTALL_RPATH to the "lib" directory of the package output. I'd imagine this would help with libraries finding libraries from the same package, but perhaps not. -- Eric Bavier Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html