C++ version and dependencies

Before calling a compile C++ executable from a script, it’s worth checking you have the version you expect and that all it’s dependencies are in place.

ldd <program_name>     will list all it’s dependencies

file <program_name>     will give you the version, for example

“ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, not stripped”

Leave a Reply