* François Pinard (pinard@iro.umontreal.ca) [20000627 21:42]:
touch empty chmod +x empty ldd empty
yields:
lddlibc4: cannot read header from `./empty': No such file or directory
I do not know how to interpret this `No such file of directory', given that `./empty' does exist.
Ldd is for ELF programms only. My assumption is, that in your empty file, it doesn't find the ELF signature so it calls lddlibc4 (presumably a program for a.out and the old jump table libs). Seems like the ldd script is missing a check for file length. But as it's just a script, you can inspect /usr/bin/ldd directly. Philipp -- Philipp Thomas <pthomas@suse.de> Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany #define NINODE 50 /* number of in core inodes */ #define NPROC 30 /* max number of processes */ -- Version 7 UNIX for PDP 11, /usr/include/sys/param.h -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/