[OpenAFS] gssklog on osx

Douglas E. Engert deengert@anl.gov
Thu, 29 Apr 2004 13:52:26 -0500


Chris McClimans wrote:
> 
> Anyone have any luck getting gssklog to work with osx 10.3 with OpenAFS
> 1.2.11?

Yes I have. Based on  the -L -l error below, you may not have configured
it correctly, as these would have been filled in from
--with-gss-lib-dir=/usr/lib  and  --with-gss-lib-name=gssapi_krb5 

I am not sure about the xdr messages. 

Can you send your configure command line?
What version of the gssklog do you have?



> I get error messages when compiling. It's probably user error, but I
> could use a hand.
> -chirs
> 
> (gssklog 0.10)
> % ./configure --with-afs=/afs/cs.ttu.edu/system/dest
> ....
> %make
> gcc  -o gssklog gssklog.o gssklog_afs.o \
> gssklog_gss.o gssklog_comm.o \
> -Wl,--noinhibit-exec,-rpath,:/usr/lib:/lib
> -L/afs/cs.ttu.edu/system/dest/lib -L/afs/cs.ttu.edu/system/dest/lib/afs
> -lprot -lubik -lauth -lcmd -lsys -lrxkad -lrx -llwp
> /afs/cs.ttu.edu/system/dest/lib/libdes.a
> /afs/cs.ttu.edu/system/dest/lib/afs/util.a
> /afs/cs.ttu.edu/system/dest/lib/afs/libcom_err.a \
>   \
> -L -l -lresolv
> ld: -L: directory name missing
> make: *** [gssklog] Error 1
> 
> So I edit the compile line, but I think I'm still missing something:
> 
> % gcc  -o gssklog gssklog.o gssklog_afs.o \
> gssklog_gss.o gssklog_comm.o \
> -Wl, -L/afs/cs.ttu.edu/system/dest/lib
> -L/afs/cs.ttu.edu/system/dest/lib/afs -lprot -lubik -lauth -lcmd -lsys
> -lrxkad -lrx -llwp /afs/cs.ttu.edu/system/dest/lib/libdes.a
> /afs/cs.ttu.edu/system/dest/lib/afs/util.a
> /afs/cs.ttu.edu/system/dest/lib/afs/libcom_err.a -lresolv
> ld: can't open:  (No such file or directory, errno = 2)
> ld: warning multiple definitions of symbol _xdr_void
> /afs/cs.ttu.edu/system/dest/lib/librx.a(xdr.o) definition of _xdr_void
> in section (__TEXT,__text)
> /usr/lib/libSystem.dylib(xdr.o) definition of _xdr_void
> ld: warning multiple definitions of symbol _xdr_int
> /afs/cs.ttu.edu/system/dest/lib/librx.a(xdr.o) definition of _xdr_int
> in section (__TEXT,__text)
> /usr/lib/libSystem.dylib(xdr.o) definition of _xdr_int
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 

 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444