[NCLUG] extracting library from statically linked executable

Daniel Herrington daniel at iherr.com
Wed Dec 20 14:26:29 MST 2006


I have a question about reusing the library routines from an old  
program in a new one. Is it possible to extract the library routines  
from an ELF executable into a .so style library, so that I can link a  
new program against it and use the functions defined in it? I looked  
at the man pages for ar, ranlib, ld, nm, objcopy, and objdump, but I  
couldn't find anything about this.

Thanks,
Daniel




More information about the NCLUG mailing list