This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/24150] ldd should print "not a dynamic executable" to standard error
- From: "rjones at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Nov 2019 08:57:44 +0000
- Subject: [Bug dynamic-link/24150] ldd should print "not a dynamic executable" to standard error
- Auto-submitted: auto-generated
- References: <bug-24150-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24150
--- Comment #11 from Richard Jones <rjones at redhat dot com> ---
If a program fails it should print an error on stderr.
(This is particularly important for libguestfs because
we turn the stderr message into an API error, but applies
in general). In this case (before Florian's change) ldd
fails but doesn't print anything useful on stderr.
Before you say it, it doesn't work to look at stdout, since
there are plenty of programs which print tons of output
on stdout before failing, and we want to identify just the
error message to report back through the API.
--
You are receiving this mail because:
You are on the CC list for the bug.