<div dir="ltr">Hi,<div>should we also search the subdirectories?</div><div><br></div><div>Regards,</div><div>Andrej Pečimúth</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">po 12. 10. 2020 o 6:26 Vojtech Horky <<a href="mailto:horky@d3s.mff.cuni.cz">horky@d3s.mff.cuni.cz</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello.<br>
<br>
Dne 10. 10. 20 v 7:20 Georgii Ekserdzhian napsal(a):<br>
> Good morning,<br>
> <br>
> I made a simple script for Q1 to determine the average number of <br>
> dependencies.<br>
> But for some files in /bin/ I get one of these:<br>
> 1) not a dynamic executable<br>
> 2) ldd error: you do not have read permissions for `/bin name/`<br>
> 3) ldd warning: you do not have execution permission for `/bin name/`<br>
> 4) ldd /bin name/: not a regular file<br>
> <br>
> Do I just disregard these files?<br>
<br>
Yes, simply ignore them.<br>
<br>
As a matter of fact, you cannot do much more about it. ldd does not make <br>
sense on (1). ldd needs to read the file (2). Non-executable file will <br>
probably not be a dynamically loaded binary at all anyway (3). Case (4) <br>
should be handled by adding -type f to find, perhaps.<br>
<br>
Hope this helps,<br>
- VH<br>
_______________________________________________<br>
NSWI004 mailing list<br>
<a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a><br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
</blockquote></div>