From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH Date: Fri, 29 Jun 2018 10:37:12 +0200 Message-ID: <87tvpmugxz.fsf@gnu.org> References: <87zi0ho0mb.fsf@gmail.com> <87602zueou.fsf@gnu.org> <878t7dw8ce.fsf@gmail.com> <874li1je4t.fsf@gnu.org> <877emipygy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYou6-0004tz-Ef for guix-devel@gnu.org; Fri, 29 Jun 2018 04:37:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYou2-0005oi-8z for guix-devel@gnu.org; Fri, 29 Jun 2018 04:37:18 -0400 In-Reply-To: <877emipygy.fsf@gmail.com> (Pierre Neidhardt's message of "Thu, 28 Jun 2018 20:17:33 +0200") 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" To: Pierre Neidhardt Cc: Guix-devel Pierre Neidhardt skribis: > I tried patching the Makefile to no avail. In fact, switching to the > build dir and running > > make LDFLAGS=3D-Wl,-rpath=3D/gnu/store/bjzsjkgd0dz9l0liva0axqqifakrrb67-= lvm2-2.02.177/lib > > does not change the RPATH of the resulting library. Am I missing somethi= ng? Is your LDFLAGS setting honored at all? Can you see that -Wl,-rpath flag that you added in the build log? It could be that the makefile simply ignores your LDFLAGS. Ludo=E2=80=99.