[NSWI004] ldd problem
Petr Tůma
petr.tuma at d3s.mff.cuni.cz
Mon Oct 12 10:40:20 CEST 2020
Hi,
not necessarily, no. If you do and make a note about it in your answer, then it's fine too.
Petr
On 12/10/2020 10:37, Andrej Pečimúth wrote:
> 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 <mailto: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 <mailto:NSWI004 at d3s.mff.cuni.cz>
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
>
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
More information about the NSWI004
mailing list