Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-29 Thread Pierre Neidhardt
It is ignored, but I don't know where. This is GNU make so LDFLAGS is part of implicit rules. I suppose that some default rules don't apply here as they are re-defined elsewhere without LDFLAGS. The makefile chain is rather big and I could not find the rules at play here. `make --debug` can

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-28 Thread Pierre Neidhardt
I can't get around this issue, it's strange... I tried patching the Makefile to no avail. In fact, switching to the build dir and running make LDFLAGS=-Wl,-rpath=/gnu/store/bjzsjkgd0dz9l0liva0axqqifakrrb67-lvm2-2.02.177/lib does not change the RPATH of the resulting library. Am I

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-17 Thread Ludovic Courtès
Pierre Neidhardt skribis: >> 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.) > > Done, here

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-17 Thread Pierre Neidhardt
> 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.) Done, here is the result:

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-07 Thread Ludovic Courtès
Pierre Neidhardt 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 >

Re: lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-06-04 Thread Ludovic Courtès
2-2.02.177/lib/device-mapper/libdevmapper-event-lvm2mirror.so: > error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found > in RUNPATH > ("/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib" > "/gnu/store/xfjba1kww8n

lvm2/device-mapper (dmeventd): libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which cannot be found in RUNPATH

2018-05-30 Thread Pierre Neidhardt
unpath' validating RUNPATH of 8 binaries in "/gnu/store/gh7rda7y5nfh7v5njlll45ckbm4aigmd-lvm2-2.02.177/lib"... /gnu/store/gh7rda7y5nfh7v5njlll45ckbm4aigmd-lvm2-2.02.177/lib/device-mapper/libdevmapper-event-lvm2mirror.so: error: depends on 'libdevmapper-event-lvm2.so.2.02', which canno

Re: … which cannot be found in RUNPATH

2017-06-12 Thread Marius Bakke
; > "…/other/lib.so depends on 'libDiscoverCommon.so', which cannot be found > in RUNPATH". > > I checked the RUNPATH shown in this error-message and it includes the > correct output of this package. But the RUNPATH only includes "…/lib", > not "…/lib/plasma&quo

… which cannot be found in RUNPATH

2017-06-12 Thread Hartmut Goebel
Hi guix! I have a package installing a lib as …/lib/plasma/libDiscoverCommon.so and a second lib as …/lib/other/lib.so. Building and linking works fine, but phase `validate-runpath' fails with: "…/other/lib.so depends on 'libDiscoverCommon.so', which cannot be found in RUNPATH".