Kyle A. answered 05/05/20
Tutor
New to Wyzant
Senior Software Engineer Specializing in Systems Programming
You can use the readelf program for this:
readelf -Ws /usr/lib/libexample.so
You will need to do additional processing to only retrieve values provided by this file and not its dependencies though