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: Mon, 04 Jun 2018 10:41:05 +0200 Message-ID: <87602zueou.fsf@gnu.org> References: <87zi0ho0mb.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]:57787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPl3B-0005H0-2m for guix-devel@gnu.org; Mon, 04 Jun 2018 04:41:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPl36-0005Hm-2n for guix-devel@gnu.org; Mon, 04 Jun 2018 04:41:13 -0400 In-Reply-To: <87zi0ho0mb.fsf@gmail.com> (Pierre Neidhardt's message of "Wed, 30 May 2018 13:15:40 +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 Hello, Pierre Neidhardt skribis: > But now I get the following error: > > starting phase `validate-runpath' > validating RUNPATH of 8 binaries in "/gnu/store/gh7rda7y5nfh7v5njlll45ckb= m4aigmd-lvm2-2.02.177/lib"... > /gnu/store/gh7rda7y5nfh7v5njlll45ckbm4aigmd-lvm2-2.02.177/lib/device-mapp= er/libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-= lvm2.so.2.02', which cannot be found in RUNPATH ("/gnu/store/n6acaivs0jwiwp= idjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib" "/gnu/store/xfjba1kww8ng= dc6nxldd8ly93nh13ayy-gcc-5.5.0-lib/lib" "/gnu/store/xfjba1kww8ngdc6nxldd8ly= 93nh13ayy-gcc-5.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../..") > [...] > /gnu/store/gh7rda7y5nfh7v5njlll45ckbm4aigmd-lvm2-2.02.177/lib/liblvm2cmd.= so: error: depends on 'libdevmapper.so.1.02', which cannot be found in RUNP= ATH ("/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379= c/lib" "/gnu/store/xfjba1kww8ngdc6nxldd8ly93nh13ayy-gcc-5.5.0-lib/lib" "/gn= u/store/bcvm220bjrx39g67hajjssgn20mlhyfr-eudev-3.2.5/lib" "/gnu/store/xfjba= 1kww8ngdc6nxldd8ly93nh13ayy-gcc-5.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/= 5.5.0/../../..") > validating RUNPATH of 3 binaries in "/gnu/store/gh7rda7y5nfh7v5njlll45ckb= m4aigmd-lvm2-2.02.177/sbin"... > phase `validate-runpath' failed after 0.0 seconds Could you paste the excerpt from that log that shows the command that produced libdevmapper-event-lvm2mirror.so? It may be a matter of adding -ldevmapper to that command (which in turn will lead ld-wrapper to add the right -Wl,-rpath flag.) Thanks, Ludo=E2=80=99.