Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 19232  / 3 Years ago, tue, november 2, 2021, 2:12:29

Just making sure I got this right - I call



ldd /path/to/executable


and it returns "not a dynamic executable". This means that it doesn't depend on other libraries, correct? If so, does it mean that it can be transferred to another Ubuntu box without worrying about dependencies?


More From » compiling

 Answers
4

Correct, but there's something to take into account.



From the ldd manpage:




ldd does not work on a.out shared libraries.



ldd does not work with some extremely old a.out programs which
were built before ldd support was added to the compiler releases.
If you use ldd on one of these programs, the program will attempt to
run with argc = 0 and the results will be unpredictable.



[#33764] Wednesday, November 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
initiallartebeest

Total Points: 24
Total Questions: 118
Total Answers: 105

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;