ldd /usr/bin/emerge not a dynamic executable Thats the normal behavior, but I have one single file out of I don't know how many on my system where it does: ldd pwp lddlibc4: cannot read header from `./pwp' pwp #!/bin/sh echo $PATH -end pwp- Reproducible: Always
Created attachment 172891 [details] The notorius evil pwp script
works fine for me: $ cat foo.sh #!/bin/sh echo $PATH $ chmod a+rx foo.sh $ ldd ./foo.sh not a dynamic executable
(In reply to comment #2) > works fine for me: Well, you didn't reproduce my test case but made a new one. But even testing with the file renamed to foo.sh it still fails here. Are you on a glibc-2.6.1 system (99% stable packages)?
the file name is irrelevant. ldd doesnt care about that. it may be a bug in glibc-2.6.1. it works with glibc-2.8 however, and considering the trivialness of the bug and glibc-2.8 being tracker for stable ...