There is a shared library say, libsample.so & libsample.so.abc.xy (a,b,c,x and y are 0-9), former having soft link to latter.
How to extract "abc.xy" field from SONAME section of libsample.so?
I have tried below command : $ objdump -p libsample.so | grep SONAME | awk {' print $2'} this prints : libsample.so.abc.xy
But how to further fetch "abc.xy"?