[OpenAFS] Re: build error when linking with heimdal-dev (Re: [OpenAFS] bosserver -noauth& changes cell to localcell)

Michael Meffie mmeffie@sinenomine.net
Thu, 13 Apr 2017 16:08:01 -0400


On Thu, 13 Apr 2017 15:31:39 -0400
Michael Meffie <mmeffie@sinenomine.net> wrote:

> On Thu, 13 Apr 2017 16:58:57 +0000
> Ted Creedon <tcreedon@easystreet.net> wrote:
> 
> > Looks like the compile failure is described in:
> > https://lists.openafs.org/pipermail/openafs-info/2016-August/041890.html
> > 
> > trying to figure that  out now.
> 

Hello Ted,

Does your build work if you manually change the following line in
src/config/Makefile.config  (*after* running ./configure)

KRB5_LIBS = -L/usr/lib/x86_64-linux-gnu/heimdal -lkrb5

to:

KRB5_LIBS = -L/usr/lib/x86_64-linux-gnu/heimdal -lkrb5 -lasn1

It looks like we need to add -lasn1 anywhere libauth.a is linked (when using
heimdal libs). Currently that is only done when building aklog.

-- 
Michael Meffie <mmeffie@sinenomine.net>