Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!ut-emx!perv.pe.utexas.edu!pefv700 From: pefv700@perv.pe.utexas.edu Newsgroups: comp.unix.wizards Subject: Re: Shared libraries: what functions are dynamically linked in? Message-ID: <47793@ut-emx.uucp> Date: 24 Apr 91 15:37:12 GMT Sender: news@ut-emx.uucp Distribution: usa Organization: Dept. of Petroleum Engineering, The University of Texas at Aust Lines: 16 In article <7355@auspex.auspex.com>, guy@auspex.auspex.com (Guy Harris) writes... >>You can see what functions whould be linked in by typing in: >> mn /usr/lib/libc.so.1 > >(Assuming you meant "nm", not "mn"), that'll show all the functions that >are in the shared library, regardless of whether any particular >executable uses them or not. I'm not sure which the original poster >wanted. Well, since I'm the original poster, I'll try to clarify. Say you have a.out, a stripped executable that was linked dynamically with a shared library. (nm won't work here, right?) Assuming I did it right, ldd only told me, "Yes, it's using this shared library." But I want to know the functions in the shared library that will be used when the executable is exec'd.