[NSWI004] ldd problem

Andrej Pečimúth andrejx98 at gmail.com
Mon Oct 12 10:37:47 CEST 2020


Hi,
should we also search the subdirectories?

Regards,
Andrej Pečimúth

po 12. 10. 2020 o 6:26 Vojtech Horky <horky at d3s.mff.cuni.cz> napísal(a):

> Hello.
>
> Dne 10. 10. 20 v 7:20 Georgii Ekserdzhian napsal(a):
> > Good morning,
> >
> > I made a simple script for Q1 to determine the average number of
> > dependencies.
> > But for some files in /bin/ I get one of these:
> > 1) not a dynamic executable
> > 2) ldd error: you do not have read permissions for `/bin name/`
> > 3) ldd warning: you do not have execution permission for `/bin name/`
> > 4) ldd /bin name/: not a regular file
> >
> > Do I just disregard these files?
>
> Yes, simply ignore them.
>
> As a matter of fact, you cannot do much more about it. ldd does not make
> sense on (1). ldd needs to read the file (2). Non-executable file will
> probably not be a dynamically loaded binary at all anyway (3). Case (4)
> should be handled by adding -type f to find, perhaps.
>
> Hope this helps,
> - VH
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201012/421956b8/attachment.htm>


More information about the NSWI004 mailing list