This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[Bug backends/24488] ebl_openbackend might use wrong library search path
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: elfutils-devel at sourceware dot org
- Date: Sat, 11 May 2019 15:49:52 +0000
- Subject: [Bug backends/24488] ebl_openbackend might use wrong library search path
- Auto-submitted: auto-generated
- References: <bug-24488-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24488
--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
Created attachment 11770
--> https://sourceware.org/bugzilla/attachment.cgi?id=11770&action=edit
Factor out loading of ebl backend library and try multiple times with bin/lib
origin paths
I think we just have to try twice. The first time using the $ORIGIN as if it
came from an executable (in bin/) and then using the $ORIGIN as if it came from
an library (in lib[64]/ or lib/<arch>/). So first time using ../$LIB and second
time just with the elfutils EBL_SUBDIR.
The first is what we do now and always work on multilib systems. The second try
works when loading relative to a library whether on a multilib or multiarch
system.
Then we use the same fallback (not using any path) we used already (to take
advantage of any RPATH or LD_LIBRARY_PATH setting).
Could someone try this out on a Debian based system to see if it works as
intended?
--
You are receiving this mail because:
You are on the CC list for the bug.