OK...

So, if it is the case that krb5-config and the libraries got confused,
what should I do?

I think Mark suggested that I run "krb5-config -cflags" and pipe the
output into the configure program for Cosign.  Would that work?

SC

-----Original Message-----
From: Russ Allbery [mailto:[email protected]] 
Sent: Thursday, February 25, 2010 2:08 PM
To: Simon Chang
Cc: Mark Montague; [email protected]
Subject: Re: [Cosign-discuss] Cosign.conf and Active Directory
configuration

"Simon Chang" <[email protected]> writes:

> gcc  -Wall -Wmissing-prototypes -g -O2 -I/usr/include 
> -I/usr/local/include  -I../common -I../libsnet -I../libcgi -o logout 
> logout.o network.o subfile.o ../common/mkcookie.o ../common/fbase64.o 
> ../common/conf.o ../common/wildcard.o ../common/argcargv.o  
> ../version.o -L../libsnet/.libs -L../libcgi  -L/usr/lib 
> -L/usr/local/lib  -lsnet -lcgi  -lssl -lcrypto -lkrb5 -lk5crypto 
> -lcom_err

That looks like the libraries for MIT Kerberos.

> /usr/lib/libkrb5.so: undefined reference to `length_PA_ENC_TS_ENC'
> /usr/lib/libkrb5.so: undefined reference to `length_KDC_REQ_BODY'
> /usr/lib/libkrb5.so: undefined reference to `free_Principal'

Those symbols look like Heimdal.

I suspect confusion between your krb5-config program and the Kerberos
libraries you have installed.

-- 
Russ Allbery ([email protected])
<http://www.eyrie.org/~eagle/>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to