[yocto] [prelink-cross][PATCH 1/1] debug message for dependencies not found
Mark Hatle
mark.hatle at windriver.com
Mon Apr 6 09:48:06 PDT 2015
This and the other patch have been merged onto the cross_prelink_staging branch.
Please test that I merged it properly. (Everything passed my basic testing, but
I haven't run it against any ARM/HF libraries or similar.)
--Mark
On 4/6/15 4:07 AM, Maninder Singh wrote:
> Hi,
> Same mail sent earlier Changing subject line, By mistake shared subject line of other patch.
>
> prelink gives below error message for failure dependency:
> ./prelink: /test_binary: Could not find one of the dependencies
>
> This provides name of dependent library which is missing like below:
> ./prelink: /test_binary: Could not find one of the dependencies:
> ./prelink-rtld: error while loading shared libraries: libB.so: cannot open shared object file: No such file or directory
> where libB.so is missing dependecy
>
> Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
> Signed-off-by: Vaneet Narang <v.narang at samsung.com>
> Reviewed-by: Ajeet Yadav <ajeet.v at samsung.com>
> Reviewed-by: Geon-ho Kim <gh007.kim at samsung.com>
> ---
> src/gather.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gather.c b/src/gather.c
> index 5ccd243..4a3f428 100644
> --- a/src/gather.c
> +++ b/src/gather.c
> @@ -240,8 +240,8 @@ gather_deps (DSO *dso, struct prelink_entry *ent)
> if (q != NULL)
> {
> error (0, 0,
> - "%s: Could not find one of the dependencies",
> - ent->filename);
> + "%s: Could not find one of the dependencies:\n%s",
> + ent->filename, line);
> goto error_out;
> }
> }
> --
>
>
> Thanks
> Maninder Singh
>
More information about the yocto
mailing list