We distribute in Linux a static lib in both 64-bit and 32-bit versions. When troubleshooting a customer, I would like my diagnostic shell script to quickly eliminate the issue
If there are functions that are specific to a particular version you could try nm then grep for the function.