Bug#632281: elfutils isn't finding its plugins
On Fri, Jul 01, 2011 at 07:44:01PM +0200, Kurt Roeckx wrote:
>
> Anyway, I think ld.so does what it's supposed to do in case
> everything was multiarch, the files would need to be moved
> there in that case. But I think it's wrong to only try
> the multiarch location.
So the elfutils code does:
#define ORIGINDIR "$ORIGIN/../$LIB/" LIBEBL_SUBDIR "/"
strcpy (stpcpy (stpcpy (dsoname, ORIGINDIR "libebl_"),
machines[cnt].dsoname),
".so");
Which gives you something like:
$ORIGIN/../$LIB/elfutils/libebl_x86_64.so
Which then gets translated to:
/usr/bin/../x86_64-linux-gnu/elfutils/libebl_x86_64.so
I assume the non-multiarch code generated:
/usr/bin/../lib/elfutils/libebl_x86_64.so
And I was expecting the new code to generate:
/usr/bin/../lib/x86_64-linux-gnu/elfutils/libebl_x86_64.so
(The "/lib" part is missing.)
I've uploaded a new elfutils that moves the files to
/usr/lib/x86_64-linux-gnu/elfutils/, but it still can't
find them. Could you change the code include the lib part?
Kurt
Reply to: