[OpenAFS] Compile failure

Benjamin Kaduk kaduk@MIT.EDU
Wed, 3 Aug 2016 21:39:56 -0400 (EDT)

On Wed, 3 Aug 2016, Ted Creedon wrote:

> openafs-
> linux 4.1.27-27
> heimdal-master
> --with-krb5=/usr/heimdal
> gcc  -O -I/data1/openafs- -I/data1/openafs- -I. -I.  -D_LARGEFILE64_SOURCE   -o ptserver ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.o utils.o map.o /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- /data1/openafs- -lresolv   /data1/openafs- -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/heimdal/lib64 -L/usr/heimdal/lib64 -lkrb5
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /data1/openafs- undefined reference to symbol 'encode_EncTicketPart@@HEIMDAL_ASN1_1.0'
> /usr/heimdal/lib64/libasn1.so.8: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:99: recipe for target 'ptserver' failed
> make[3]: *** [ptserver] Error 1
> make[3]: Leaving directory '/data1/openafs-'
> Makefile:235: recipe for target 'ptserver' failed
> make[2]: *** [ptserver] Error 2
> make[2]: Leaving directory '/data1/openafs-'
> Makefile:692: recipe for target 'build' failed
> make[1]: *** [build] Error 2
> make[1]: Leaving directory '/data1/openafs-'
> Makefile:36: recipe for target 'all' failed
> make: *** [all] Error 2

Linking heimdal krb5 should have a longer command line than that.
Is there MIT krb5 also installed on the machine?  Try setting
PATH_KRB5_CONFIG=/usr/heimdal/bin/krb5-config at configure time?