Friday, February 21, 2014

library summary

1. Shared library (so name  / soname )












eg: 
fully-qualified soname   :   libnetcdf.so -> libnetcdf.so.7.2.0
soname                         :   libnetcdf.so.7 -> libnetcdf.so.7.2.0
real name                     :   libnetcdf.so.7.2.0

2. Display a list of object from libraries. 
    2.1 List objects from shared library
    $ readelf   -s    libnetcdf.so

    2.2 List objects from static library
    $ ar -t  libcomp.a

No comments:

Post a Comment