Article 5HY7Z A small change in behaviour of ldd between 14.2 and 15.0

A small change in behaviour of ldd between 14.2 and 15.0

by
Ilgar
from LinuxQuestions.org on (#5HY7Z)
Hi all,

This is something unimportant but I'm writing it anyway so that it may save someone from losing time over an unexpected change.

I have a script that I use to detect broken binaries after large upgrades, so that I can recompile them. It relies on the output of /usr/bin/ldd. It got broken on -current (15.0 beta). The script was spewing the string "not a dynamic executable" all over the place.

It took me some time to find where the change of behaviour occurred: Due to this change, ldd prints the message above to stderr instead of stdout, so it does not get suppressed as it used to be. This is not the kind of change one would expect, but there it is.latest?d=yIl2AUoC8zA latest?i=baJbcg_AKlc:AXog9DoecUg:F7zBnMy latest?i=baJbcg_AKlc:AXog9DoecUg:V_sGLiP latest?d=qj6IDK7rITs latest?i=baJbcg_AKlc:AXog9DoecUg:gIN9vFwbaJbcg_AKlc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments