guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: err


From: Ludovic Courtès
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: Thu, 07 Jun 2018 18:17:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pierre Neidhardt <address@hidden> skribis:

>> Could you paste the excerpt from that log that shows the command that
>> produced libdevmapper-event-lvm2mirror.so?
>
> gcc -shared -Wl,-soname,libdevmapper-event-lvm2mirror.so.2.02 \
>       -O2  -fPIC -L../../../../daemons/dmeventd/plugins/lvm2 
> -Wl,--version-script,.export.sym -Wl,-z,relro -L../../../../libdm 
> -L../../../../lib -L../../../../libdaemon/client 
> -L../../../../daemons/dmeventd dmeventd_mirror.o   -ldevmapper-event-lvm2 
> -ldevmapper -o libdevmapper-event-lvm2mirror.so.2.02
>
>> 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.)
>
> `-ldevmapper` is in the command, so it does not seem like it's the
> problem here.

Could you build it with -K, and then, cd into the failed build tree,
remove libdevmapper-event-lvm2mirror.so*, and run:

  GUIX_LD_WRAPPER_DEBUG=yes make

?

That will allow you to see which ‘-rpath’ flags ld-wrapper adds.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]