i tried making library with
ar -r -c -s libtestlib.a *.o
as given in this tutorial http://matrixprogramming.com/Tools/CompileLink.html
libtool also has an useful option: -export-symbols-regexp.
libtool
-export-symbols-regexp