[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: err
From: |
Pierre Neidhardt |
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: |
Wed, 06 Jun 2018 11:58:37 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
> Could you paste the excerpt from that log that shows the command that
> produced libdevmapper-event-lvm2mirror.so?
--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---
> 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.
Full build trace attached.
If I can't figure this out I'll send the incomplete patch. I think
devmapper-event is the last missing piece of the udisks-update puzzle.
--
Pierre Neidhardt
lvm2.log
Description: Binary data
signature.asc
Description: PGP signature