[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heimdal 0.3d



>>>>> "Assar" == Assar Westerlund <assar@sics.se> writes:

    Assar>  * try to use an existing libdes

I haven't investigated in detail, but I think there are two bugs here.

/bin/sh ../../libtool --mode=link gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2   -o libkrb5.la -rpath /usr/lib -version-info 14:0:0 acl.lo add_et_list.lo addr_families.lo address.lo aname_to_localname.lo appdefault.lo asn1_glue.lo auth_context.lo build_ap_req.lo build_auth.lo cache.lo changepw.lo codec.lo config_file.lo config_file_netinfo.lo convert_creds.lo constants.lo context.lo copy_host_realm.lo crc.lo creds.lo crypto.lo data.lo eai_to_heim_errno.lo expand_hostname.lo fcache.lo free.lo free_host_realm.lo generate_seq_number.lo generate_subkey.lo get_addrs.lo get_cred.lo get_default_principal.lo get_default_realm.lo get_for_creds.lo get_host_realm.lo get_in_tkt.lo get_in_tkt_pw.lo get_in_tkt_with_keytab.lo get_in_tkt_with_skey.lo get_port.lo init_creds.lo init_creds_pw.lo keyblock.lo keytab.lo keytab_file.lo keytab_memory.lo keytab_keyfile.lo krbhst.lo kuserok.lo log.lo mcache.lo misc.lo mk_error.lo mk_!
!
priv.lo mk_rep.lo mk_req.lo mk_req_ext.lo mk_safe.lo net_read.lo net_write.lo n-fold.lo padata.lo principal.lo prog_setup.lo prompter_posix.lo rd_cred.lo rd_error.lo rd_priv.lo rd_rep.lo rd_req.lo rd_safe.lo read_message.lo recvauth.lo replay.lo send_to_kdc.lo sendauth.lo set_default_realm.lo sock_principal.lo store.lo store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo transited.lo verify_init.lo verify_user.lo version.lo warn.lo write_message.lo krb5_err.lo heim_err.lo ../../lib/com_err/libcom_err.la  -rpath  -L -ldes ../../lib/asn1/libasn1.la ../../lib/vers/libvers.la ../../lib/roken/libroken.la -lcrypt -ldb -lresolv -lresolv 
libtool: link: only absolute run-paths are allowed

BUG #1: 

-rpath and -L is invalid, probably because of this line.
LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"

(actually, Debian prefers rpath is not used at all, especially for
system library directories like /lib or /usr/lib, but this is only a
minor issue at the moment due to BUG #2).

I would suggest something like this (not tested):

if [ -z $krb4_libdir ]
  LIB_des="$ac_cv_funclib_MD4Init"
else
  LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
endif


BUG #2:

The only version of libdes I have installed on my computer is from
Heimdal 0.3c... Hence, it shouldn't even be trying to use the
installed version. Not sure what the correct way is around this
problem.

As I work around, I tried "configure --without-des", but this didn't help.

config.status has:
s,@LIB_des@,-rpath  -L -ldes,;t t
-- 
Brian May <bam@snoopy.apana.org.au>