[OpenAFS] Undefined symbol problem
Derrick J Brashear
shadow@dementia.org
Fri, 14 Nov 2003 17:59:15 -0500 (EST)
On Fri, 14 Nov 2003, Derrick J Brashear wrote:
> On Fri, 14 Nov 2003, David Botsch wrote:
>
> > so, then, what libs do I need to compile something with
> > ka_UserAuthenticateGeneral in it (and other ka_* functions)?
>
> well, the fact that you had to go out of your way to find that one should
> have been a hint.
>
> likewise, you can find what symbols are in what libraries using nm.
>
> however, *this* symbol is in -lkauth
And I forgot to mention that library order matters. But...
Actually, i should have suggested that you might want:
-lafsauthent -lafsrpc -lpthread (possibly -lafsutil)
and *nothing else* from afs.