On Thu, Nov 15, 2007 at 08:28:35PM -0500, Michael Muller wrote: > > Ooops, I forgot that I had set it to link "-static" to send > > someone a self contained binary. > > > > Obviously the pthread functions are always in memory, being as how > > they are in the kernel. > > Actually - they're not. They live in libpthread. They're built on > lower-level functions that interface with the kernel in ways that I'm not > familiar with. > > Most likely the libpthread functions will always be in memory, but that's > only because there are other programs using them. Even so, both the linker > and the loader will need to resolve the library. > > > > > Removing -static cured all problems. > > It sounds like you might have a different version of the static library > laying > around - you might want to look into that to avert further weirdness.
Typically on rpm based distros, there is a seperate glibc-static-devel
package, as the static libs are BIG, and rarely does anyone actually
link to them statically.
If you install them, you'll be able to static link.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
signature.asc
Description: Digital signature
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Oct 3 - Security and Privacy Nov 7 - Django Python Application Framework
