From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: kde: Add kdelibs. Date: Thu, 6 Nov 2014 23:54:52 +0100 Message-ID: <20141106225452.GA17364@debian> References: <87tx2d2ykt.fsf@gnu.org> <87ioitwfxf.fsf@gmail.com> <20141105211818.GA1181@debian> <20141105232032.GA24522@debian> <871tpglfg2.fsf@gnu.org> <20141106223744.GA15793@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmVxJ-0004oJ-SU for guix-devel@gnu.org; Thu, 06 Nov 2014 17:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmVxC-0003tw-DE for guix-devel@gnu.org; Thu, 06 Nov 2014 17:55:05 -0500 Content-Disposition: inline In-Reply-To: <20141106223744.GA15793@debian> 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: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: Guix-devel , Federico Beffa On Thu, Nov 06, 2014 at 11:37:44PM +0100, Andreas Enge wrote: > Does this mean that this option only honours paths coming from "-l", while > at the same time using "-l" is unusual with cmake? Actually I do not know about the second part of the sentence, but the first one seems to be true. When I add -DCMAKE_EXE_LINKER_FLAGS=-lkdeclarative , the binary ktouch is indeed linked with an additional "-lkdeclarative". In the link line, we still have "-Wl,-rpath,:::...:::". Maybe something happens before or during installation. In any case, objdump now shows: RUNPATH /gnu/store/w931dmcqpkb3sdcxnjpqxdn7qykh3qbr-ktouch-4.14.2/lib:/gnu/store/4k20pkxgvfc22wpcvh6xr26ma4b619ad-glibc-2.20/lib:/gnu/store/k7w7wdpvaqlkwq0ijz9149pqn3lq8a5n-gcc-4.8.3-lib/lib64:/gnu/store/k7w7wdpvaqlkwq0ijz9149pqn3lq8a5n-gcc-4.8.3-lib/lib:/gnu/store/mipmjv4mpsf3rrsk1mbhpqzlw939v6ny-kdelibs-4.14.2/lib:/gnu/store/k7w7wdpvaqlkwq0ijz9149pqn3lq8a5n-gcc-4.8.3-lib/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../.. Notice the additional /gnu/store/mipmjv4mpsf3rrsk1mbhpqzlw939v6ny-kdelibs-4.14.2/lib , which contains libkdeclarative.so. Andreas