[OpenAFS-devel] Re: segfault in process.c:savecontext() during lwp init -- how to debug?

Garrett Wollman wollman@csail.mit.edu
Wed, 1 Jul 2009 12:27:06 -0400


<<On Wed, 01 Jul 2009 08:50:00 -0400, Jeffrey Altman <jaltman@secure-endpoints.com> said:

> linkers can be fussy about the order of the libraries.
> Try swapping the order of afsrpc and afsauthent.

And if you're building a shared library, remember you need to link
against the (not normally built or installed) PIC versions of the
libraries.  (The Debian package does not install the shared libraries,
which would normally be used in this case.)  I sent Russ a patch for
the Debian package to install these (which I needed for a Ruby
extension) but it's only in squeeze, not lenny.

-GAWollman